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

nav-item dropdown not working on mobile devices #216

Open
who-is-matt opened this issue Oct 6, 2022 · 0 comments
Open

nav-item dropdown not working on mobile devices #216

who-is-matt opened this issue Oct 6, 2022 · 0 comments

Comments

@who-is-matt
Copy link

I added a nav-item dropdown item on the navbar (exactly as specified in the Bootstrap 5 documentation: https://getbootstrap.com/docs/5.0/components/navbar/). It works fine on wider viewports. But once the viewport is small enough that the navbar is collapsed (such as on mobile devices), the dropdown no longer works. Clicking the nav-link dropdown-toggle item doesn't display the dropdown-item elements, but instead closes the navbar menu.

I can only assume that the issue is specific to this theme, since I have another website using vanilla Bootstrap 5 that has no issue with nav-item dropdown elements, and I'm not doing anything differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant