dascritch / cpu-audio

An audio WebComponent to provide timecoded links and other features to an audio tag
https://dascritch.github.io/cpu-audio/
GNU Lesser General Public License v3.0
24 stars 2 forks source link

Chrome Android got a failing test #121

Open dascritch opened 3 years ago

dascritch commented 3 years ago

“Click at the middle of the timeline” is supposed to respond a timecode at 1:00 ± 0.1s

The test give strange results : 0:56 or 0:16 depending the width of the screen. Firefox on Android and desktop give correct results. It may come to a specific implementation on Chrome Android. Test must be rewritten.

dascritch commented 3 years ago

This problem seems only occurring on Android Chrome, not on iOS. But manual interaction is conform.

I suppose this is due to a different mouse event management. I've toyed 580890787ab3a031729cdd9121a91d2b06d527d4 gut got nothing

dascritch commented 3 years ago

This test is simple, but has a very strange bug only on Chrome Android : It seems related to the way on this platform Google integrated the mouse API. Because, yes, since the very first Chrome, you can attach a mouse on your phone and use a cursor ! May be should I instead use pointer events, as they are now enough supported https://caniuse.com/pointer

dascritch commented 1 year ago

The bug is still here. We cannot resolve it by our side, so, removing it from the release objective.