When focusing <Select /> on a small mobile screen and where popover content overflows at the bottom of the viewport, it causes the <Select /> to immediately blur and close the popover content. It also causes the page to scroll down, which feels very buggy.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
instantiate a <Select />
increase the popoverContent's height to ~400px
open the Select on iOS safari
watch the page scroll and the select close
Expected behavior
As a user I expect the <Select /> to remain opened, even if the page scrolls down.
Alternatively, I expect a disableScroll prop. For instance, the Autocomplete doesn't autoscroll when its popoverContent overflows the viewport, because its default behaviuour is to not cause the page to scroll.
NextUI Version
2.4.6
Describe the bug
When focusing
<Select />
on a small mobile screen and where popover content overflows at the bottom of the viewport, it causes the<Select />
to immediately blur and close the popover content. It also causes the page to scroll down, which feels very buggy.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
<Select />
popoverContent
's height to~400px
Expected behavior
As a user I expect the
<Select />
to remain opened, even if the page scrolls down.Alternatively, I expect a
disableScroll
prop. For instance, theAutocomplete
doesn't autoscroll when its popoverContent overflows the viewport, because its default behaviuour is to not cause the page to scroll.Screenshots or Videos
No response
Operating System Version
iOS 17.6.1
Browser
Safari