Second beta release.
JavaScript
- Added
disable()
andenable()
methods for when you want to temporarily disable a tooltip but not destroy it - Added a callback hook
tippy.browser.onUserInputChange()
so you can react to a user's input method change (either mouse or touch). This means you can reliably disable tooltips for touch devices but keep them enabled for mouse if need be. - Added
enabled
andvisible
properties to theTippy.state
object - Fixed potential issue where the tooltip would remain stuck on the DOM by hiding it instantly on next popper update (i.e. scroll)
- Prevent any tooltip transition when
updateDuration: 0
is specified
CSS
- Improved the backdrop fill animation on Safari (but still seems to have issues, just less often..)
- The
inertia
transition-timing-function has changed to "ease" when it's hiding so it doesn't slingshot back in. To make it look good, use double the duration for show, such asduration: [600, 300]