Releases: datuhealth/isotip
Releases · datuhealth/isotip
New API options
1.3.0
- Add a configuration option to disallow a tooltip to close by normal mouse/keyboard events.
This should only be used if you're going to close a tooltip programmatically. There are two ways to set this option.
- On the trigger element. Set the
data-tooltip-autoclose
attribute to false. - Programmatically. When calling
isotip.open()
, setautoClose
to false in the options object.
Additionally,
- A class name can be added by passing
className
toopen
, or settingdata-tooltip-classname
- Fixed a bug where clicking a child element in a tooltip would close the tooltip
- Fixed tests so they actually run properly
Allow a DOM element to be passed in as content
Thanks to @jmagnusson for the work for this.
Fix programmatic scrolling
Before, opening a tooltip programmatically prevented it from following the trigger when scrolling. This fixes that.
Dependency updates
v1.2.4 Updating dependencies
Dependency updates
v1.2.3 Fixes tooltip positioning for SVG triggers
Bug fix
This release contains a bug fix where, in some weird edge cases, a non-existent tooltip was trying to be closed.
Scroll container support
If you have your tooltips opening in an element that has overflow: scroll
, this is the version for you!
Better removal delay
Previously, the default removal delay was a whopping 1200
ms! It's now 200.
Fixes a typo in package.json
Previously, you couldn't actually require( 'isotip' );
because of a typo. Now you can!
Better positioning and IE8 love
This is a small-ish release.
Bug fixes
- Fixes a bug where IE8 wasn't correctly positioning tooltips on the far left or right of the screen. Fixes #6. Commit d9bda10
Enhancements
- Tooltips positioned on the top are now positioned relative to the bottom of the page so that if text wraps in the tooltip it doesn't cover the trigger element. Commit 579ada9