Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the tooltip is misplaced if page or component is vertically scrolled #74

Open
watery opened this issue Apr 12, 2023 · 0 comments
Open

Comments

@watery
Copy link

watery commented Apr 12, 2023

I noticed this with the vanilla js component integrated in a wiki page.
And it can be seen in this codesandbox: https://codesandbox.io/s/serene-poincare-35wsc8 (copied from #7) - even if it's using the React integration - where the gantt component has a fixed height of 1000 pixels. Just scroll the chart a little and then hover any activity: the tooltip is not placed beneath the blue box:

immagine

I found that changing the CSS .gantt-tooltip { position } property from fixed to absolute fixes the problem, but was just a quick attempt that surely needs testing:

immagine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant