Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undraggable slider #56

Open
zgjhz opened this issue Jun 19, 2023 · 4 comments
Open

Undraggable slider #56

zgjhz opened this issue Jun 19, 2023 · 4 comments

Comments

@zgjhz
Copy link

zgjhz commented Jun 19, 2023

Hi, is it possible to make it impossible to drag the slider?

@suragch
Copy link
Owner

suragch commented Jun 19, 2023

What is your use case?

@zgjhz
Copy link
Author

zgjhz commented Jun 19, 2023

The music is synchronized with the operation of the bluetooth device, so the user should not be able to move the slider

@suragch
Copy link
Owner

suragch commented Jun 19, 2023

Options

  • Copy the code to your project and rip out all the logic for dragging and seeking.
  • Hide the thumb by making the radius zero. I haven't tried this but i think it might work. The progress bar part would still be displayed.

@zgjhz
Copy link
Author

zgjhz commented Jun 22, 2023

Thank you. I will response if i do this

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

No branches or pull requests

2 participants