-
Notifications
You must be signed in to change notification settings - Fork 40
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
Click menu gets confused when multiple menus on a page #4488
Comments
Javascript is not my strong suit... but this PR seems to work. |
@laryn - I went to test this issue, but I don't quite understand step #2 in the steps to reproduce. Either that or I'm misunderstanding something else about this issue. Can you add a little more information or screen shot to the original issue? EDIT: OK, I dug a little deeper and found the configuration necessary to test this issue and was able to reproduce the original issue. I have not yet tested the PR. |
@laryn - I don't think the PR is working. I did the following:
I did these same things on a Tugboat demo site and it worked as expected. So, I think the PR has actually broken some things that were working. I have not looked at the code at all yet. |
Oh, that's not good. Will have a look and try to clarify the PR and the issue. |
@stpaultim I may get back to this but not sure exactly when, so I'm un-self-assigning in case anyone else has better JS chops and wants to tackle it. |
I just added a new PR for this which I think simplifies the implementation and actually works with multiple menus. I'm not sure why I initially was jumping back outside the |
I was able to recreate the problem on a test site. I then tested the PR and find that the PR does fix the problem. |
Thanks @laryn, @yorkshire-pudding, and @stpaultim! I merged backdrop/backdrop#4401 into 1.x and 1.25.x for 1.25.2. |
Description of the bug
When there are multiple menus with different settings on the same page, the click menu functionality is not functional.
Steps To Reproduce
To reproduce the behavior:
Actual behavior
Click to open is inconsistent.
Expected behavior
Each menu's settings should control that menu's "click to open" functionality.
Reference
PR by @laryn: #4488: Better target menu block "clickdown" settings backdrop#3190The text was updated successfully, but these errors were encountered: