-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
OnClick Component inside <DropdownItem> not changing its component's state #779
Comments
I am also seeing this problem. |
EditNevermind, I see what you are saying. It's not that the toggle isn't getting called, it's that the component within the dropdownmenu is not keeping it's state. |
Sorry I forgot to come back to this. I added a |
Still not working |
This worked for me. |
What is happening?
Hello, I'm just using reactstrap and react js for a bit and i have some issues regarding the component. I want to trigger show modal when i click on the component inside the component. this is the module that i've been working for a while:
What should be happening?
I expect it to trigger setState when i click the div inside DropdownItem
Code
this is the modal that i want to show:
help much appreciated because i've been dealing with this issues for about two days. I can use custommenu for solving this problem, but in the name of my learning process, I'm convinced that i need to ask about this issue that i got.
Thank you very much! 👍
The text was updated successfully, but these errors were encountered: