Problem/Motivation
The navidation bar is not rendering the menu to collapse some options and don't show all options, the layout limiter is explodiing and some menu options is hidden
This is an inconsistent bug and happen because the javascript try to built the menu before to render the navigation bar, when the navigation bar is rendered before the error don't happen.
Steps to reproduce
- Go to a page with navigation bar with many options
- Try to load the page and some times the navigation bar is not show all options
Proposed resolution
This problem already be faced and tried to fix envolving the function in a promise, but the error continue happen.
Change the promise by once function to avoid some undefined variables.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | socialblue-navigation-bar-is-not-show-all-option-3405589-2.patch | 5.07 KB | viniciusrp |
Issue fork socialblue-3405589
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
viniciusrp commentedI created a patch to fix it
Comment #3
nkoporecLooks good to me, setting as RTBC.
Comment #4
viniciusrp commentedComment #7
viniciusrp commentedThat fix was released at 2.5.5 version.