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

[BUG]: Hovered 'Light/Dark' Text Sticks After Mode Switch – Requires Extra Click to Dismiss #1725

Open
sinhaaman3256 opened this issue Oct 9, 2024 · 4 comments

Comments

@sinhaaman3256
Copy link

Describe the bug:
When switching between light and dark mode, the hovered text "light/dark" remains visible until an additional click is made. The hover text does not disappear automatically after the mode switch, requiring unnecessary interaction.

To Reproduce:
Steps to reproduce the behavior:

  1. Open Avogadro.
  2. Hover over the mode toggle button (light/dark).
  3. Click to switch between light and dark modes.
  4. Notice that the hover text persists after the switch until another click is made.

Expected behavior:
The hovered "light/dark" text should disappear automatically when the mode switch is completed without needing an additional click.

Screenshots:
Screenshot 2024-10-10 004438

Video Demonstration:
[

Recording.2024-10-10.005102.mp4

]

Additional context:
This issue creates a minor but noticeable disruption in the user experience when switching themes. Automatically dismissing the hover text would streamline interactions.

Copy link

welcome bot commented Oct 9, 2024

Thanks for opening your first issue here! Please try to include example files and screenshots if possible. If you're looking for support, please post on our forum: https://discuss.avogadro.cc/

@ghutchis
Copy link
Member

ghutchis commented Oct 9, 2024

Is this with the website https://two.avogadro.cc/ or the app?

@sinhaaman3256
Copy link
Author

The website

@ghutchis
Copy link
Member

As far as I can tell, it's inherent in the pydata-sphinx theme: https://pydata-sphinx-theme.readthedocs.io/en/stable/examples/gallery.html

There's probably a way to fix it with custom CSS, but I'm not an expert. I'm also having trouble figuring out the particular element for that "hover" text.

I agree with you, it's really weird, but I'm not sure we can do anything about it right now.

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

2 participants