Skip to content

1.9.0

Latest

Choose a tag to compare

@nilbuild nilbuild released this 03 Oct 09:36

Added

  • closeBtnLabel (driver and step level) to set the close button's
    aria-label, for translated tours. Defaults to Close.
    (#623)
  • overlayClickBehavior: "none" to ignore overlay clicks while Escape and the
    close button still close the tour.
    (#435)

Changed

  • Keyboard control follows the popover buttons: arrow keys do nothing when
    their button is hidden or disabled, and Escape does nothing when the close
    button is disabled.
    (#589)
  • The current popover is hidden while waitForElement waits for the next
    step's element, so a stale step no longer stays on screen.
    (#578)
  • Only one instance is on screen at a time. Starting a tour or highlight closes
    any other active instance; it gets onDeselected and onDestroyed but not
    onDestroyStarted.

Fixed

  • destroy() on an instance that is not active is now a no-op instead of
    tearing down another instance's tour.
    (#504)
  • The highlighted element's own aria-controls, aria-expanded and
    aria-haspopup are restored when the highlight moves on or the tour ends,
    instead of being removed.
    (#495)
  • No more small white square between steps without an element.
    (#549)
  • onDeselected now fires when moving between two steps on the same element,
    or between two steps without an element.
  • The driver-level disableButtons now applies to tour steps. It used to be
    ignored during a tour. A step's own disableButtons still replaces it.