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

Mobile menu opening outside the screen #748

Open
3 tasks done
ju-vrk opened this issue Dec 4, 2023 · 2 comments
Open
3 tasks done

Mobile menu opening outside the screen #748

ju-vrk opened this issue Dec 4, 2023 · 2 comments
Labels

Comments

@ju-vrk
Copy link

ju-vrk commented Dec 4, 2023

I should be able to open the dropdown menu on mobile inside the screen, but it's opening outside

To reproduce:

  1. Go to the page on mobile
  2. Click on the hamburger menu
  3. See errir

Expected behavior:

The menu should open inside the screen

Screenshots:

Here's the link to a screen recording showing the problem and a weird situation where the menu is working (when switching apps):

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.4.1

Elementor version: 3.18.0

@ju-vrk ju-vrk added the bug label Dec 4, 2023
@vijetaR
Copy link
Contributor

vijetaR commented Dec 5, 2023

Hi @ju-vrk, We sincerely apologise for any inconvenience. However, after conducting testing on our end, we were unable to reproduce the problem you mentioned. To better understand and resolve the issue, we kindly request, if you could open a support ticket with us and provide access to your demo site along with the necessary credentials and description, we would be more than happy to investigate the matter further. Thank you for your understanding and assistance. We look forward to resolving this matter for you.

@niilopoutanen
Copy link

niilopoutanen commented Mar 18, 2024

This is still happening, caused by this line:

var sec_pos = $( '.elementor-element-' + id ).closest('.elementor-section').offset().left - $selector.offset().left;
Uncaught TypeError: Cannot read properties of undefined (reading 'left')

Located in function function _toggleClick( id )
image

If "Full width" option is turned off, that kind of fixes the issue, but then the menu will no longer work as expected, so that is not a solution.

Related to #733

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

3 participants