ionic-team / ionic-team/ionic-framework

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

Ouverte
#30,443 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
needs: investigation package: vue
Langage dominant
TypeScript
Étoiles
52.7k
Forks
13.3k
Merge moyen
1 j 15 h
PR mergées (30 j)
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_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.