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
Clicking any buttons in the navigation bar, then press the spacebar. It will trigger the "next animation" event and the event associated with the button together.
For example, I change to the dark mode at first:
Then I press the spacebar:
Reason:
I believe it is because the button gets focused after clicked, then pressing the spacebar can trigger the button. If I click somewhere to make it lose focus, the problem will not happen.
Solution:
I am not sure if it is a problem that needs to be solved, but I think it may ruin the user experience since they have to click somewhere else after clicking the navigator buttons.
I have solved it by blur(). If you think it is worthwhile to do so, I can submit a PR later.
Finally, thanks for this awesome project again! 👍
The text was updated successfully, but these errors were encountered:
Problem:
Clicking any buttons in the navigation bar, then press the spacebar. It will trigger the "next animation" event and the event associated with the button together.
For example, I change to the dark mode at first:
Then I press the spacebar:
Reason:
I believe it is because the button gets focused after clicked, then pressing the spacebar can trigger the button. If I click somewhere to make it lose focus, the problem will not happen.
Solution:
I am not sure if it is a problem that needs to be solved, but I think it may ruin the user experience since they have to click somewhere else after clicking the navigator buttons.
I have solved it by
blur()
. If you think it is worthwhile to do so, I can submit a PR later.Finally, thanks for this awesome project again! 👍
The text was updated successfully, but these errors were encountered: