Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

ArcSlider is unable to prevent passive event. #972

Closed
barrard opened this issue Sep 15, 2019 · 1 comment
Closed

ArcSlider is unable to prevent passive event. #972

barrard opened this issue Sep 15, 2019 · 1 comment

Comments

@barrard
Copy link

barrard commented Sep 15, 2019

Describe the bug
The ArcSlider component uses the ontouchstart and ontouchmove events to handle the slider on touch screens, and event.preventDefault() to disable scrolling. However, React does not Support Passive Event Listeners #6436

To Reproduce
Steps to reproduce the behavior:

  1. Go to Rendition story book ArcSlider on a touch-enabled device.
  2. Touch the Arcslider and attempt to slide.

Expected behavior
The ArcSlider should prevent scrolling and enable the user to easily adjust the slidder.

Screenshots

Specifications (please complete the following information):

  • Browser: Chrome 76
  • OS: Ubuntu 18.04.3 LTS
  • Environment: devenv

Additional context
This has been an issue since Chrome 56 as seen here in react issues Chrome 56 breaks touch events #8968
And here is Google's explanation about the changes they made to Improve Scrolling performance

@sradevski
Copy link
Contributor

We have plans of dropping the ArcSlider component, so we won' be fixing anything

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants