cbouy / mols2grid

Interactive molecule viewer for 2D structures
https://mols2grid.readthedocs.io
Apache License 2.0
206 stars 25 forks source link

Hover popup flickers #41

Closed freewind2213 closed 1 year ago

freewind2213 commented 1 year ago

When the hover popup to display info about molecule is higher than the frame size, the hover popup will keep flickering and not displays the info.

freewind2213 commented 1 year ago

It works well on Windows 11, however on Mac os, it flickers when using Microsoft Edge or Safari.

cbouy commented 1 year ago

Hi @freewind2213,

I've noticed this issue and meant to address it in the last update but forgot, here are some workarounds:

Hope that helps,

Cédric

freewind2213 commented 1 year ago

Hi @cbouy ,

I set tooltip_placement="auto" and the problem is gone, thanks a lot.