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

Actions forward focus and blur events on trigger #1757

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented Mar 11, 2021

Whenever the trigger of a single action item or the trigger of an action
menu is focussed or blurred, re-emit the event on the Action component
for outside processing.

Fixes #1617

Can be seen in use in nextcloud/spreed#4666 where we need to track whether a button is focussed to prevent removing the hover and preventing to hide the buttons there.

Whenever the trigger of a single action item or the trigger of an action
menu is focussed or blurred, re-emit the event on the Action component
for outside processing.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@ChristophWurst ChristophWurst merged commit caa5188 into master Mar 12, 2021
@ChristophWurst ChristophWurst deleted the enh/1617/actions-focus-events branch March 12, 2021 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Action controls need focus/blur events
3 participants