-
Notifications
You must be signed in to change notification settings - Fork 77
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
Calcite range slider not working properly on touch laptop #4290
Comments
@daniellaumer Thanks for reporting this. Additional testing on Windows 10 (thanks @bsvensson!) revealed issues with the following:
|
fix(slider): Focus active handle on pointerdown instead of click. (#4290)
…ows touch gesture (#6553) **Related Issue:** #4290 ## Summary Replicated the issue on a PC tablet (Dell Precision 5560 per use case) and noticed that the slider was being blocked by the browser swipe gesture. Happened on several browsers tested on this device (Chrome 110.0.5481, MicrosoftEdge 11.0.1587). https://user-images.githubusercontent.com/19231036/222330979-31a80b8e-4ab8-41d1-aaa5-812248e6e838.mp4 Solved by disabling browser swipe navigation to next/previous page to prevent interference with the slide thumb intended functionality to follow touch gesture. The fix will apply to all touch-enabled devices, including iOS and and tablets running other operating systems. Can't see a way to automatically test it in our setup, maybe we could add a wiki or confluence page for the slider behavior on other devices (any slider part should use touch-action: none because ...).
@daniellaumer Would you be able to verify if the fix is working with |
@bsvensson Would you be able to verify if the above fix is working with |
@geospatialem Yes, 1.1.0 works great on my Dell touch laptop using both Chrome Beta 112.0.5615.49 and Chrome 111.0.5563.147 (while 1.0.8 does not). |
Thanks much! Closing out and marking as verified per Bjorn's verification above. |
Actual Behavior
When trying to drag a calcite slider on a laptop with touch screen, the dragging of the slider does not work. The slider thumb keeps stopping and you have to re-drag it. See attached screenshot:
Note: A common html range slider works fine.
Expected Behavior
The expected behaviour is that the slider thumb follows the touch gesture and does not stop.
Reproduction Sample
Just any calcite slider
Reproduction Steps
Open any example of a calcite slider on a laptop with touchscreen, for example this one: https://developers.arcgis.com/calcite-design-system/components/slider/
Not sure though if it happens for all touch laptops, the problem occured on a Dell Precision 5560
Reproduction Version
beta.2
Relevant Info
Windows 10, Chrome and Edge, Hardware: Dell Precision 5560
Regression?
Probably never worked
The text was updated successfully, but these errors were encountered: