alexanderwallin / react-player-controls

⏯ Dumb and (re)useful React components for media players.
http://alexanderwallin.github.io/react-player-controls/
ISC License
191 stars 35 forks source link

Slider not draggable on iOS #45

Open scottyeung opened 5 years ago

scottyeung commented 5 years ago

Checked on Chrome, slider bar is draggable but not in iOS.

alexanderwallin commented 5 years ago

I missed to follow this up. Will have a look soon!

cyrdax commented 5 years ago

we are seeing this as well. is this being addressed? or bigger fish to fry?

alexanderwallin commented 5 years ago

I addressed it in https://github.com/alexanderwallin/react-player-controls/commits/touch-slider, but never tested it properly. If anyone has time to give it a go, that'd be super!

sidwyn commented 4 years ago

Hello, did you get a chance to look at this?

arist0tl3 commented 3 years ago

I created a fork here: https://github.com/arist0tl3/react-player-controls, which you can install with npm install @arist0tl3/react-player-controls.

Needed to get this working today, but I can open a PR here if anyone's interested.

As a heads up, you may need to add touch-action: none to prevent the default mobile browser click handling (https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action).

alexanderwallin commented 3 years ago

@arist0tl3 Thanks! Please create a PR and we'll get this into the lib!

alexanderwallin commented 3 years ago

There's now a 2.0.0-beta.0 to try out!