npm tippy.js 2.0.0-beta.2
v2.0.0-beta.2

latest releases: 6.3.7, 6.3.6, 6.3.5...
6 years ago

Second beta release.

JavaScript

  • Added disable() and enable() 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 and visible properties to the Tippy.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 as duration: [600, 300]

Don't miss a new tippy.js release

NewReleases is sending notifications on new releases.