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

Expose mousedown and mouseup Events in Button Component #1490

Open
hi-rai opened this issue Nov 20, 2024 · 0 comments · May be fixed by #1491
Open

Expose mousedown and mouseup Events in Button Component #1490

hi-rai opened this issue Nov 20, 2024 · 0 comments · May be fixed by #1491
Labels
enhancement New feature or request

Comments

@hi-rai
Copy link

hi-rai commented Nov 20, 2024

Summary

Currently, the Button component provides standard click events, but for more advanced interactions, it would be beneficial to have access to these additional mouse events.

Motivation

Exposing mousedown and mouseup events would allow developers to implement features such as:

  • Custom Press-and-Hold Actions: Trigger actions when the button is pressed and held down.
  • Advanced UI Interactions: Such as starting animations on mousedown and stopping them on mouseup.
  • Improved Accessibility: By providing more granular control over mouse interactions.
@hi-rai hi-rai added the enhancement New feature or request label Nov 20, 2024
@hi-rai hi-rai linked a pull request Nov 20, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant