godaddy-wordpress/primer

Menu behaves strangely at some page widths

TessLew15 opened this issue · 5 comments

When there is a second level dropdown menu that appears to the right of the parent dropdown menu, at some page widths it will not respond to being clicked. Instead, it will briefly jump to the left of the parent dropdown menu before closing. The link will only work if the menu is opened a second time and the same link clicked again.

For example, this link will not work when clicked the first time:
screen shot 2018-07-13 at 3 20 50 pm

This is a problem with the JQuery. If JS is disabled on the browser, the pure CSS menu will work fine.

This is using Opera 54.0 on a Mac

Hi @TessLew15

I'd be happy to take a look and see if that's something I can reproduce. I believe the menu is jumping to the left of the parent menu due to the page width, and having it on the left would overflow beyond the width of the browser window. Although, the menu should still work on the left vs right side.

Do you happen to have a link to that page where I can take a look? I'll do some testing locally and see if I can setup a test instance that replicates the issue.

Evan

@TessLew15 I was able to locate the bug and come up with a patch for this. We are working on a new release, which will include the fix for this bug. Thank you for reporting the bug here.

Evan

No problem, have a great week!