uikit / uikit

A lightweight and modular front-end framework for developing fast and powerful web interfaces

Home Page:http://getuikit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tooltip no longer works when added via JS

bornova opened this issue · comments

Latest version (3.17.9) no longer adds a tooltip to an element when initialized using JS.

UIkit Version

3.17.9

Actual Behavior

UIkit.tooltip(element, options); no longer initializes a tooltip on an element.

Expected Behavior

Tooltip should be added.

Reproduction Link

https://codesandbox.io/s/suspicious-oskar-rmppyh

Steps to Reproduce the Problem

  1. Hover over the text on first line.
  2. No tooltip is shown.
  3. Change UIkit version to 3.17.8
  4. Hover over the text again.
  5. Tooltip is now displayed as expected.