Reach-ui: [Slider] On Pointer device: after swiping on the SliderTrack, any pointer event on the screen will affect the Slider position

Created on 27 Mar 2020  路  3Comments  路  Source: reach/reach-ui

馃悰 Bug report

Current Behavior

  • visit the doc page (https://reacttraining.com/reach-ui/slider/) on a mobile device (tested on Pixel 2 with Android Chrome).
  • perform a swipe on the SliderTrack
  • any subsequent clicks on any area of the page will affect the slider position (it seems like a cancel event isn't fired or something)

Expected behavior

  • I would expect that only pointer events initiated on the slider (or nearby) would affect the slider position (Especially since I only accidentally performed a swipe on the slider track while I was scrolling the page)

Your environment

https://reacttraining.com/reach-ui/slider/

| Software | Name(s) | Version |
| ---------------- | ------- | ------- |
| Browser | Chrome on Android | 80 |

Bug

All 3 comments

Thank you for opening this issue

Should be fixed in 0.10.0, let me know if you still have issues!

Nice! I just tested it and the slider works really well now. Thanks a lot :)

Was this page helpful?
0 / 5 - 0 ratings