You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
andmouseup
events would allow developers to implement features such as:The text was updated successfully, but these errors were encountered: