Skip to content

bug: Ion-Select component last item not visible when interface="modal" #30443

Open
@ssg-financial-com

Description

@ssg-financial-com

Describe the Bug

When we use Ion-Select with interface="modal" last item in list is not visible.
Pre-requisites: There should be a scrollbar in the modal. So, add as many items until we get scroolbar

Expected Behaviour

All the items should be visible when the user scrolls to the very last of list

Steps to Reproduce

Steps to reproduce

  1. Create a list using the Ion-Select component with interface ="modal"
  2. Add items to this list using Ion-Select-Option component.
  3. Add as many items in the list such that we get a ScrollBar to see items further down the list.
  4. Now, scroll to the bottom of list, the last item is not visible. It is present in the DOM, but not visible

I was able to reproduce it using the given Ion-Select example in the documentation: https://ionicframework.com/docs/api/select#modal
Just increase the number of items in the list until there is a scrollbar and only last item is not visible.

Screenshots

Last item Bananas is not visible in the list
Image

Operating System

Windows

Browser

Chrome

Version

136.0.7103.93

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: investigationThis issue is waiting on more investigation from the Ionic Team.package: vue@ionic/vue package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions