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
Describe the feature in detail (code, mocks, or screenshots encouraged)
Html buttons have focus event fires when an element has received focus. Currently one is not able to listen to on:focus event on a button.
example of on:focus <button on:focus={handleButtonFocused}>...</button> or event forward the focus event <button on:focus>...</button>
Describe the feature in detail (code, mocks, or screenshots encouraged)
Html buttons have focus event fires when an element has received focus. Currently one is not able to listen to on:focus event on a button.
example of on:focus
<button on:focus={handleButtonFocused}>...</button>
or event forward the focus event<button on:focus>...</button>
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
component concerned: https://www.bits-ui.com/docs/components/button
example of focus event in svelte: https://svelte.dev/repl/dbeabf42636545b3a8dc6ebe84c2d98c?version=3.17.3
The text was updated successfully, but these errors were encountered: