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
Hi people! Would it be possible to keep visualizing the community usage box also while hovering over the box? See in the gif below how it disappears. Thanks!
The text was updated successfully, but these errors were encountered:
I see, this issue is occuring as per the working of Bootstrap Popovers.
As the mouse is hovered out of <a> tag (which is the popover toggle), the corresponding popover disappears.
One quick fix I can think for this is to embed the popover <div> inside <a ... data-toggle="popover" ...> by calling popover method with {container: ":scope"}.
Only four lines (line 431, 444, 454 and 464) of your js/tree-edam-stand-alone.js file with .popover() method can be replaced with .popover({container: ":scope"}), and it should work fine then, as popover <div> then becomes a part of <a>, and hovering it does not remove mouse hover from <a>.
I have tried it out locally, and it seems to work fine for now. Have a look at the GIF below:
If this works, please feel free to directly add it to your code, or let me know if you need a PR against this! And if you come across any better solution, do mention!
Uses css_classes to add class selector for generic_href as suggested to
distinguish .app-liances and .tool-s for separate popover initialization
to prevent unexpected popover switch on mouse hover.
'css_classes' has been carefully added as an optional parameter with
default blank value on all callers of to_generic_href wrappers.
Fix: edamontology#225
Signed-off-by: Harshit Gupta <[email protected]>
Specification
Devices
Laptop
Browser
Brave
Message
Hi people! Would it be possible to keep visualizing the community usage box also while hovering over the box? See in the gif below how it disappears. Thanks!
The text was updated successfully, but these errors were encountered: