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

Navbar: right-items not hidden on mobile leading to an error #1637

Closed
tishoyanchev opened this issue Dec 6, 2024 · 0 comments · Fixed by #1638
Closed

Navbar: right-items not hidden on mobile leading to an error #1637

tishoyanchev opened this issue Dec 6, 2024 · 0 comments · Fixed by #1638
Assignees
Labels
bug Something isn't working

Comments

@tishoyanchev
Copy link
Contributor

Detailed description of how to reproduce the problem

This is an edge case. Under some circumstances, when the page loads on a mobile, the right-items are not hidden inside the
navbar mobile menu, and thus, when you expand the screen, an error occurs because the items inside the menu are being queried but they don't exist.
Cannot read properties of null (reading 'setAttribute') .. caused by searchBarRight.setAttribute('slot', 'search-bar-left');

Related issue: #1631

Upload a screenshot

N/A

Describe the development framework

Any

Expected behavior

No error

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
1 participant