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

Improve slider components #292

Merged
merged 8 commits into from
Apr 10, 2022
Merged

Improve slider components #292

merged 8 commits into from
Apr 10, 2022

Conversation

jeffvli
Copy link
Owner

@jeffvli jeffvli commented Apr 10, 2022

Closes #272
Closes #273

Affects the main player and volume sliders.

What's changed:

  • Responsiveness of seeking
  • Seeking while paused now reflects correctly on the component
  • Better interactions for keyboard-only users
  • "Stop" playerbar button is now enabled when playback is paused
raw2.mp4

- Add toolTipType (str 'text' | 'time')
- Add hasToolTip (boolean)
- Update current time on drag/drop
- Memoize formatted times
Previous slider did not have callbacks for when drag is completed
@jeffvli jeffvli self-assigned this Apr 10, 2022
@jeffvli jeffvli merged commit ca7629d into main Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment