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

[data-focus] attribute is removed when clicking on Switch, Checkbox and RadioGroup.Item #50

Closed
fabien-ml opened this issue Jan 15, 2023 · 0 comments · Fixed by #52
Closed
Labels
bug Something isn't working WIP Work in progress

Comments

@fabien-ml
Copy link
Collaborator

Describe the bug
On mousedown, the input blurs and returns focus to the body.

Expected behavior
[data-focus] should be kept, like native checkboxes keeps focus on input.

@fabien-ml fabien-ml added bug Something isn't working WIP Work in progress labels Jan 15, 2023
fabien-ml added a commit that referenced this issue Jan 15, 2023
fabien-ml added a commit that referenced this issue Jan 15, 2023
@fabien-ml fabien-ml changed the title [data-focus] attribute is removed when clicking on Swicth, Checkbox and RadioGroup.Item [data-focus] attribute is removed when clicking on Switch, Checkbox and RadioGroup.Item Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working WIP Work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant