o.querySelector(...) is null in /blocks/navigation/view.min.js #57359
Labels
[Block] Navigation
Affects the Navigation Block
Needs Testing
Needs further testing to be confirmed.
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
I added the search block to a separate navigation in the header as shown below in order to open the search modal on click.
It works as expected, however when the menu button is clicked and search modal opens - a JS error is thrown in the console:
This happens with the default Twenty Twenty-Four theme and no active plugins.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: