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

Need a help with a floating and auto hiding toolbar - Button Panel submenus are messed up in horizontal direction #1422

Open
jarisgv opened this issue Sep 14, 2023 · 0 comments

Comments

@jarisgv
Copy link

jarisgv commented Sep 14, 2023

Hello folks.

I know that the Trumbowyg editor toolbar, in full mode, is fixed to the top of the screen when the user scrolls down in the editing area. But I would like to see it only when the user points the mouse arrow to the top of the screen.

Well, I almost did it, but it seems like there is a conflict between the positions of the button panel and its dropdown items, and when I keep the dropdown just below the button panel, even though the user has scrolled down two or more times the height from the viewport, the behavior of the submenus is completely confused in the horizontal direction.

I'm working in the example in this Pen:

trumbowyg-screenshot
(https://codepen.io/byJaris/pen/vYvmwNq)

So, is there a way to keep both Button Panel and its Dropdown menus in sticky position working properly?

Thank you in advance.

🙏🏽🙏🏽🙏🏽

@jarisgv jarisgv changed the title Need a help with a floating and auto hiding toolbar Need a help with a floating and auto hiding toolbar - Button Panel submenus are messed up in horizontal direction Sep 14, 2023
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

1 participant