riyaddecoder / react-audio-play

A simple audio player component for react.
https://riyaddecoder.github.io/react-audio-play/
MIT License
22 stars 2 forks source link

Position absolute stops slider drag #1

Closed gregg-cbs closed 9 months ago

gregg-cbs commented 1 year ago

Hey!

Thanks for this player!

I have noticed when i make the player position absolute the slider drag stops working.

I cant see why. All the other controls work but i cant slide the slider.

.react-audio-player {
  z-index: 30;
  position: absolute;
}
riyaddecoder commented 9 months ago

@gregg-cbs Thank you for trying the package! I appreciate you reporting any issues you encounter. I apologize for the delayed update; I've been quite busy with my full-time job recently.

gregg-cbs commented 9 months ago

No worries! Thanks for contributing to the community. I have since moved onto using Svelte so unfortunately i do not get to experience your nice fix :( but next React project for sure.