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

init stars on mouse leave #52

Open
konapaz opened this issue Aug 18, 2023 · 0 comments
Open

init stars on mouse leave #52

konapaz opened this issue Aug 18, 2023 · 0 comments

Comments

@konapaz
Copy link

konapaz commented Aug 18, 2023

For better UI/UX stars should be as init selected after of mouse out (leave).

Assume stars are init of 2 of 5. when users hovered on the other stars then seems selected (this is ok). But when mouse out entirly of block of stars (and without click in one of the stars). it should be selected as before of hovering. But this not happen

Its not problem with state managment, even if I set the init by new state (useState) the stars remains selected of the last hover (except if unmount and mount entire component).

I think this is a bug or a UI/UX gap. How to solve this ? or waiting for a new verion ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant