Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with the dropdown #242

Open
Daumis102 opened this issue Jan 4, 2024 · 0 comments
Open

Issues with the dropdown #242

Daumis102 opened this issue Jan 4, 2024 · 0 comments

Comments

@Daumis102
Copy link

Daumis102 commented Jan 4, 2024

Hello, I'm trying to use this library in my project, but I'm having issues with the search field and the keyboard.

Issue 1: when dropdown hits the bottom of the screen, I would expect it to open 'top', otherwise out of a bunch of selectable items, user can only see a couple:

image

Code (it is mostly from the examples of multi select):
image

I would expect it to flip either when it touches the bottom of the screen, or there should be a setting for dropdown height when the flip should happen (or possibly when minHeight specified no longer fits down below and has to go off screen?)

Issue 2: Another issues is that the dropdown flips to 'top' only when keyboard fully covers the dropdown component rather than the search input. Sometimes this makes the search input unusable:

image

Here you can see a tiny part of the dropdown just above the keyboard, and the search is covered, leading to a very poor user experience. The code is the same as above, I just moved the dropdown down to the specific height when this happens.

I would expect the dropdown to jump to top if the top of the keyboard reaches the bottom of the input

I would really love to see these changes and then this library would be perfect for my project, otherwise I cannot use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant