themes icon indicating copy to clipboard operation
themes copied to clipboard

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

Open llezhava opened this issue 1 year ago • 5 comments

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 avatar Apr 12 '24 17:04 llezhava

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 avatar Apr 12 '24 18:04 llezhava

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

llezhava avatar Apr 12 '24 18:04 llezhava

+1

mmagsano avatar Jul 26 '24 07:07 mmagsano