ionic-team / ionic-team/ionic-framework

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

Open
#30,443 1 comment 0 reactions 0 assignees View on GitHub
needs: investigation package: vue
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

### 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](https://github.com/user-attachments/assets/c772905a-35e2-4bc6-8ff3-6b7ef3fc95b9)

### Operating System

Windows

### Browser

Chrome

### Version

136.0.7103.93

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.