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
StopPropogation not working with Dropdown #6462
Comments
I'm not sure a dropdown inside a form inside a dropdown button is an ideal solution. Why not use a modal? Or a sidenav? If you look at the docs, the dropdown button is really meant for a bunch of list items. |
I have a similar issue. I can't prevent the dropdown from being closed when I want. |
@accezar you need to replicate the issue in a codepen to be able to help. |
I wanted to add an input field to a dropdown and dropdown was closing automatically.
(it doesn't affect clicking outside of dropdown) Here is the example for
You can have a different implementation, but the main idea is to disable default onClick implementation Another option (I didn't try though), would be to add |
Hi,
I want to create a dropdown inside a form. but when I click on the dropdown-content area it's closes automatically, I tried stopPropogation() but it's not working. please help me solve it.
You can check my code from here.
The text was updated successfully, but these errors were encountered: