ionic-team / ionic-team/ionic-framework

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

Abierto
#30,443 1 comentario 0 reacciones 0 asignados Ver en GitHub
needs: investigation package: vue
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

### 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_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.