question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Property onMouseLeave not yet implemented

See original GitHub issue

The example in the readme (specifically the one for “Progress bar that shows the target time on hover”), uses the onMouseLeave property on Slider. However, this does not seem to be implemented (yet).

      <Slider
        direction={Direction.HORIZONTAL}
        style={{
          position: 'relative',
        }}
        onIntent={this.handleIntent}
        onMouseLeave={this.handleMouseLeave}
      >

Are there plans to add this? (would be great) Or should I add a wrapper div to implement it myself?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rijkcommented, Jan 18, 2019

Yup, that looks really good! Although you are trying to keep the built-in functionality to a minimum, I think it’s a worthwhile addition.

1reaction
rijkcommented, Jan 17, 2019

That would definitely work! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you Hover in ReactJS? - onMouseLeave not ...
React normalizes events so that they have consistent properties across different browsers. The event handlers below are triggered by an event in ...
Read more >
SearchableDiscreteColorLegend does not implement ... - GitHub
I would like to have an on hover interaction with the items of a SearchableDiscreteColorLegend however it does not seem to expose the ......
Read more >
onmouseleave Event - W3Schools
The onmouseleave event occurs when the mouse pointer leaves an element. The onmouseleave event is often used together with the onmouseenter event, which...
Read more >
onmouseleave does not fire if you have mutiple elements react
When React components pass data to one another they already use properties. This would just make custom elements behave the same way.
Read more >
Today I Learned: How mouse events really bubble in React
The onMouseEnter and onMouseLeave events propagate from the element being left to the one being entered instead of ordinary bubbling and do not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found