Skip to content

Fix dropdown position when use data-size attribute#2767

Open
smiglu wants to merge 2 commits intosnapappointments:devfrom
smiglu:dev
Open

Fix dropdown position when use data-size attribute#2767
smiglu wants to merge 2 commits intosnapappointments:devfrom
smiglu:dev

Conversation

@smiglu
Copy link

@smiglu smiglu commented Aug 2, 2022

When select has a lot of option (in my case 100+) I wanted to limit it to display only the 6 options with scroll. I use attribute data-size set to 6. But when i click to open select, isDropup flag is set to true, and option show above a select but is enough space to display options below button.

Fix #2766

@NicolasCARPi
Copy link
Collaborator

I can't reproduce the issue you describe (with select appearing as dropup). Could you try and have a reproducible case in tests that shows that your fix is useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants