Make the Listbox component scroll to the last visible option #3673
Closed
Allorentee
started this conversation in
Ideas
Replies: 1 comment
-
I move this discussions to bugs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hii, the other day using the Listbox component I found something irregular.
this component when the options are cleared and you don't have enough space in the screen to show them, it makes a scroll towards the selected option.
The problem is when you have 5 or more options and you have selected the second one, when you deploy the options, it scrolls to the second option which is the selected one but does not allow you to view the rest or scroll because it blocks the scroll of the page, it scrolls to the selected option and the options do not have space on the screen to be displayed, it scrolls to the selected option after the scroll is blocked.
I would like to make a pr to make the component scroll to the last visible option.
I have created an example so that the issue can be tested.
Reproduce: Reproduce listbox options
Here is the visualisation of how it scrolls to the selected option without displaying the rest of the options
Ty for read me!!
Beta Was this translation helpful? Give feedback.
All reactions