- This topic has 5 replies, 2 voices, and was last updated 1 year, 1 month ago by Tom.
November 28, 2019 at 2:58 am #1081049Matthias
Hello, GeneratePress team! I have the following problem on http://ham.2sinn.com/zimmer:
When clicking the “Konferenzräume” nav menu option on that page (which is linked to an anchor), it remains stuck there until one clicks again elsewhere on the page.
Is there a way to make it disappear when the mouse no longer hovers over it? I know HTML and CSS and I’m willing to use it 😉
Using GeneratePress theme 2.4.1 and GP Premium 1.9.1. Disabling other plugins does not seem to solve the issue.November 28, 2019 at 9:14 am #1081758TomLead DeveloperLead Developer
How are you achieving the smooth scroll right now? I believe our built-in smooth scroll option has this fixed.
Let me know 🙂November 28, 2019 at 9:19 am #1081771Matthias
I’m not using any particular smooth scrolling plugin or code. I would wager that yes, it’s the feature that comes GP, unless Beaver Builder also implements smooth scrolling with code of its own?
Do your suppose it’s the smooth scroll that causes that menu option to not disappear when the user stops hovering the mouse over it?November 28, 2019 at 9:21 am #1081773TomLead DeveloperLead Developer
When you click a menu item, it applies focus, which is why the menu is keyboard accessible.
Once the scrolling is done, that focus needs to be removed, which our smooth scroll feature does automatically.
You can give it a shot, but I’m not sure if it will conflict with the smooth scrolling you already have: https://docs.generatepress.com/article/smooth-scroll/November 28, 2019 at 9:58 am #1081815Matthias
Hey, that works! Awesome! Thanks, Tom 🙂
I also did a bit of digging and you were right, the smooth scrolling that was already happening came from Beaver Builder.November 28, 2019 at 6:16 pm #1082188
- You must be logged in to reply to this topic.