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

onHover fires after onChange #95

Open
rodriturnes opened this issue Jun 7, 2018 · 2 comments
Open

onHover fires after onChange #95

rodriturnes opened this issue Jun 7, 2018 · 2 comments

Comments

@rodriturnes
Copy link

Hi,

Whenever I click a star, the onChange() method is fired. CORRECT

But immediately, the onHover() method is called with value=1. INCORRECT

Is this a known issue?

Thanks for your help, amazing component!

@dreyescat
Copy link
Owner

dreyescat commented Jun 7, 2018

Uhm... Are you sure they are fired in that order? The correct order should be onHover first and then onChange. Because you hover over the symbol before you click it.

@rodriturnes
Copy link
Author


screen shot 2018-06-07 at 5 58 15 pm

I hover over 3, then 4, click it and automatically fires onHover with value=1.

Strange, isn't it?

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

2 participants