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

(2.0.0-beta.2) Hover pop-up remains when switching active tab #320

Open
dylan-dot-tech opened this issue Aug 4, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dylan-dot-tech
Copy link

Describe the bug

I have the Calendar plugin displayed in the top right sidebar. This panel shares other tabs with the Calendar plugin. When triggering the hover-popup as normal, the popup remains if you quickly select a different tab in the same panel. The Calendar is not displayed but the popup remains visible until navigating back to the Calendar tab to manually force the popup to clear.

The obvious workaround is to use a CSS snippet to completely remove the popup in question:

.popper.svelte-ejuyfk{
    display:none;
}

Steps to reproduce

  1. Setup your Calendar plugin in a panel that includes any other tabs.
  2. Hover your mouse over any date in the Calendar plugin to trigger the popup.
  3. With the popup and Calendar both still displayed, quickly select another tab that is in the same panel as the Calendar.
  4. The selected tab should be active with the Calendar plugin not being visible.
  5. The popup remains.

Expected behavior

The popup should only be displayed while your mouse is active within the plugin. This popup should disappear the moment your mouse is not longer active within the plugin. Likewise, the popup should disappear the moment another tab is selected within the same panel.

Screenshots

Screenshot from 2023-08-04 14-08-06

cinnamon-2023-08-04T135947-0400.webm

Environment (please specify)

OS

  • Linux Mint 21.2 Cinnamon

Obsidian Version (e.g. v0.10.6)

  • Obsidian: v1.3.7.AppImage
  • Calendar Plugin: 2.0.0-beta.2

Theme (if applicable):

  • None; default theme.
@dylan-dot-tech dylan-dot-tech added the bug Something isn't working label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant