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

[Select] Select is being opened when I swipe up (mobile) #454

Open
llezhava opened this issue Apr 12, 2024 · 2 comments
Open

[Select] Select is being opened when I swipe up (mobile) #454

llezhava opened this issue Apr 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@llezhava
Copy link

llezhava commented Apr 12, 2024

Hello everyone!

On mobile, when I swipe up, Select is opened if I click on the component before starting swiping. In this case, it must not open, because during swiping it shall not matter where I start because I want to start scrolling.

I checked on the Material UI select component, and they don't open select in such situations.
Native select also does not open.

Steps to reproduce:

Browser needed: Mobile, Chrome

  1. Go to https://www.radix-ui.com/themes/docs/components/select documentation
  2. Click on the select & start swiping up
  3. Select will open
@llezhava
Copy link
Author

Also, is it possible to close the dropdown, when the user swipes back on mobile? Native Select has this option, but It will be very tricky to implement (even if it's possible)

@llezhava
Copy link
Author

Right now, I'm considering to create a native select (style it like radix-ui select), and render it on mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants