-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Open a modal inside a dropdown #177
Comments
@elalemanyo Did you ever find a solution to this? I came across the same issue. |
What are you having trouble with? |
@excid3 The issue is the modal does not open. I have a basic dropdown menu. One of the menu items is a link, which should open a modal when clicked. My code is very similar to the provided usage examples. From a code structure perspective, I effectively have modal example code inside of dropdown example code. Here is a gist that shows my exact issue: https://gist.github.com/acejam/6a678e54739651b8d32e4c3e1ea6a44f The browser console will through a Is there a better way to launch a modal from a dropdown menu? |
You might need to use the |
That's actually one of the first things that I tried. Unfortunately, it did not make any difference. |
Can you update your example with what you tried? |
Sure, it was very basic though: My thinking is that the Dropdown and Modal controllers are stepping on each other here. Perhaps because we have one |
@excid3 Unfortunately I'm still battling against this. I was able to get rid of the |
I fiddled with it, but didn't have enough time to figure out what was going wrong. Also, the modal being inside a |
This should work now that we're using the |
Hi,
Is there a way to open a modal inside a dropdown?
Thanks!
The text was updated successfully, but these errors were encountered: