Adyen / lume

Lume is a component library for visual representations of data, built for Vue with D3.
https://lumedataviz.com
MIT License
41 stars 2 forks source link

Wrong tooltip positioning when in a horizontal scrolled div #40

Closed joao-m-santos closed 1 year ago

joao-m-santos commented 1 year ago

Problem description The tooltip gets positioned wrongly when inside a horizontal scrolled div/table.

Steps to reproduce

  1. Add a Lume chart inside a div with horizontal scroll
  2. Scroll to the right
  3. Hover over the chart
  4. See that tooltip is in the wrong position

Expected behavior It should be positioned in the correct anchor point position.

Screenshots image

Device: Not relevant.

Additional context --

joao-m-santos commented 1 year ago

Fixed by providing the fixedPositioning option/prop. Documented here for reference.