Tradeshift / tradeshift-ui

The Tradeshift UI Library & Framework
https://ui.tradeshift.com
Other
33 stars 45 forks source link

[Tooltip] Does not work inside aside panels #961

Open n-srg opened 4 years ago

n-srg commented 4 years ago

Describe the bug If we place a tooltip on some element inside the aside panel - it does not work at all

To reproduce https://jsfiddle.net/xhuorLks/

  1. hover on Tooltip on the Panel :( - does not work but the cursor applies pointer state
  2. hover on Tooltip inside the MAIN! :) - it works

Expected behavior

  1. hover on Tooltip on the Panel :( - should work

Framework usage Vanilla JS (playground provided)

Desktop (please complete the following information):

n-srg commented 4 years ago

also there is a typo in the documentation page https://ui.tradeshift.com/v12/#components/tooltip/

<div data-ts="Tooltip" data-ts.title="This my tooltip">Tooltip<div> the tag should be the closing one in the end i.e. <div data-ts="Tooltip" data-ts.title="This my tooltip">Tooltip</div> << (</div>)