You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dash_bio.Circos tooltip wrong position if page is scrolled #758
Bug description
If you scroll the page down and hover over the dash_bio.Circos graph to see the tooltip, it will be shown too low: the tooltip’s position is as if the page wasn’t scrolled at all.
Chrome, Firefox, Edge, Safari browsers all have this issue.
However, plotly/circosJS, branch matthewchan15-zoom-pan-svg does include the above mentioned commit (that fixes the tooltips): plotly/circosJS@75fea92
So does it mean that this commit doesn't actually solve this tooltip issue?
But on the nicgirault/circosJS's demo: the tooltips work correctly when scrolling: https://nicgirault.github.io/circosJS/demo/
Why do they work correctly there but not in dash-bio?
Is the problem with dash-bio, with nicgirault/circosJS, or with plotly/circosJS, branch matthewchan15-zoom-pan-svg, and how would we fix it?
Hey!
This problem is caused by this commit in plotly/circosJS that added inline style "position: fixed" to the tooltip element. This commit is not present in other forks of this library.
There is a pull request with a fix: plotly/circosJS#2
Which is left unattended since 2021.
Activity
VladimirFokow commentedon Jun 14, 2023
May be relevant:
repo: https://github.com/nicgirault/circosJS
commit: nicgirault/circosJS@75fea92
says:
Searching for "CircosJS" in dash-bio may be useful: here
Which version of CircosJS does dash-bio use? In search results I see both:
matthewchan15-zoom-pan-svgwhich is forked from mtwichan/circosJS which is forked from nicgirault/circosJS↓
However,
plotly/circosJS, branch matthewchan15-zoom-pan-svgdoes include the above mentioned commit (that fixes the tooltips): plotly/circosJS@75fea92So does it mean that this commit doesn't actually solve this tooltip issue?
But on the
nicgirault/circosJS's demo: the tooltips work correctly when scrolling: https://nicgirault.github.io/circosJS/demo/Why do they work correctly there but not in
dash-bio?Is the problem with
dash-bio, withnicgirault/circosJS, or withplotly/circosJS, branch matthewchan15-zoom-pan-svg, and how would we fix it?alexanderfokau commentedon Jun 17, 2023
Hey!
This problem is caused by this commit in
plotly/circosJSthat added inline style "position: fixed" to the tooltip element. This commit is not present in other forks of this library.There is a pull request with a fix: plotly/circosJS#2
Which is left unattended since 2021.