opentripplanner / otp-ui

React component library, which can be used to build trip planner webapps.
http://www.opentripplanner.org/otp-ui/?path=/story/transitvehicleoverlay--real-time-rectangles
MIT License
56 stars 34 forks source link

TripOptions dropdowns require more clicks to open in iOS environments. #558

Open lightsage88 opened 1 year ago

lightsage88 commented 1 year ago

When on an iPhone a user can go to the TripOptions component page and click the Maximum Walk and Walk Speed dropdowns and find that after clicking one and having it open up, clicking the next one only closes the one that was already open, a second click on that next one is required to make it show its respective options.

Is there any way to eliminate the need for that second click?

I have attached a video showing this interaction.

https://user-images.githubusercontent.com/31577015/224832766-44349aa7-b209-443a-bc6e-9b5e73b87858.mp4

miles-grant-ibigroup commented 3 months ago

I believe this is an iOS specific design? If you long press on a dropdown and release upon selecting your desired option you should achieve the behavior you're looking for