NASA-IMPACT / admg-casei

ADMG Inventory
https://impact.earthdata.nasa.gov/casei/
Apache License 2.0
1 stars 0 forks source link

Tooltip on campaign timeline doesn't appear over the time bar #598

Closed heidimok closed 5 months ago

heidimok commented 5 months ago

Describe the bug When hovering over a timeline bar in a campaign page, the tooltip is always fixed on the left of the timeline instead of above the actual location of the bar where the user is pointing at. image image image

To Reproduce Steps to reproduce the behavior:

  1. Go to a campaign in CASEI
  2. Scroll down to the Timeline section
  3. Hover over a green bar - notice the toolbar always appears on left
  4. Click on deployment and hover over a red or purple bar - notice the toolbar always appears on left

Expected behavior The tooltip appears over the bar being hovered.

willemarcel commented 5 months ago

I've solved it with https://github.com/NASA-IMPACT/admg-casei/commit/d03d8043ed4201747ad299c466582aedc72ae15b

Screenshot 2024-01-24 at 13 58 09