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
Say that I have a div with data-rh={this.state.hintText}, on hover it shows.
Let's say I have an onClick on that element and when clicked I change state.hintText to something else - the element re-renders but the hint stays the same.
Only after mouseout/in does it renders correctly.
Could not find a workaround with available methods.
The text was updated successfully, but these errors were encountered:
Hey, thanks for your quick reply and sorry for my late reply. I tried this before and it didn't work - only now noticed I had two instances of <ReactHint .../> in my code since in the readme example you put two instances and it's a bit confusing. Anyways it works with one instance using the "forceupdate" solution. Thanks.
Say that I have a div with data-rh={this.state.hintText}, on hover it shows.
Let's say I have an onClick on that element and when clicked I change state.hintText to something else - the element re-renders but the hint stays the same.
Only after mouseout/in does it renders correctly.
Could not find a workaround with available methods.
The text was updated successfully, but these errors were encountered: