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

<nav> left is set to 0 on resize when hamburger menu is open #875

Open
1 of 2 tasks
m1ga opened this issue Aug 30, 2024 · 0 comments
Open
1 of 2 tasks

<nav> left is set to 0 on resize when hamburger menu is open #875

m1ga opened this issue Aug 30, 2024 · 0 comments
Labels

Comments

@m1ga
Copy link

m1ga commented Aug 30, 2024

Describe the bug:

The new "full width hamburger" menu options works fine but as soon as you resize the window while the menu is open it will set the left position to 0 on the element. Closing and reopening it again will calculate the correct left position again.

To reproduce:

  • add menu
  • enable full width
  • resize the window while looking at the frontend page

Expected behavior:

  • keep the width
  • maybe NOT use JS to set the width but CSS. Before the new JS I've just used left: calc(100vw - [margin value]) and width:100vw

Screenshots:

after resize:
Bildschirmfoto_20240830_225620

Isolating the problem:

  • [] This bug happens with no other plugins activated
  • This bug happens with a default WordPress theme active
  • I can reproduce this bug consistently using the steps above

WordPress version:

6.6.1

Elementor version:

3.23.4

@m1ga m1ga added the bug label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant