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

Problems with position:fixed elements by using contao-mobile_menu with offcanvas #28

Open
liquid-a opened this issue Nov 29, 2022 · 1 comment

Comments

@liquid-a
Copy link

When using "off canvas effect" it is not possible to place any element on the whole web page with position:fixed.

The cause is the:
transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);
will-change: transform;

in the div with the id "wrapper", which is entered there by setting the checkmark "off Canvas Effect".

Since navigation menus or other elements like to be fixed, this problem is not so optimally solved, especially in connection with this module. It should still be possible to use position:fixed. I would be happy if there was a solution for this, as the module is otherwise very good.

@qzminski
Copy link
Member

The CSS is always individual to each website. This extension provides an off-canvas feature like that, but you can always override it. Let me know if you have a better proposal for the off-canvas effect.

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