Releases: bsidelinger912/react-tooltip-lite
Custom Arrow content
This adds the "arrowContent" prop and fixes a bug where tapping on mobile fires state updates unnecessarily and calls the onToggle prop unnecessarily.
Internal scrolling
Fixes bugs for internal scrollbars, and adds prop-types/types support for valid numeric values for padding.
Fix scrolling mobile issues, add new props.
This fixes #59 and adds two new props: zIndex and onToggle. The new props are documented in the README
Add mouseOutDelay prop
This allows you to specify a delay before closing the tip when the user mouses off the target. Previously there was no delay at all unless the tipContentHover prop was true. Now if you pass a mouseOutDelay number (that is greater than 0) the tip won't be hidden until that time has passed, if the user re-enters the target before the delay is passed the tip will not be hidden.
Clear hover timeout on unmount
v1.9.5 1.9.5
Fix unnecessary babel target change
Fix nested targets and React.Strict warnings
This moves to a custom Portal to remove strict mode warnings about compontWillMount usage. It also changes to using onMouseEnter and onMouseLeave vs onMouseOver and onMouseOut for hover effects, to prevent issues when moving around on targets with nested elements.
Render on show
- Defer rendering until the first time the tip is shown
- Add tipContentsClassName prop
- Add forceDirection prop
Add arrowSize prop
Adds and arrowSize prop for variable size arrows.