-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Overlapped/Nested button not receiving any events #6303
Comments
Without you showing any of your code it's hard to say, but make sure to validate against this https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#q-why-is-my-widget-not-reacting-when-i-click-on-it |
The ID stack is an option, but my bet would be a missing |
See this comment #3909 (comment) |
Thanks for your help so far @GamingMinds-DanielC @emoon @ocornut Here is the code
I can't get the "Inner button" to register clicks. What am I missing? |
@mungaihehe sorry for late answer. A behavior change in 1.89 changed this. See #3909 (comment) |
This is now fixed but required an API change, see #6512 (comment) |
Version/Branch of Dear ImGui:
Version: 1.89.5 WIP
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
My Problem
The inner button (or input text) isn't receiving any mouse events
Is there any way to have a nested button that can be activated?
Thanks in advance
The text was updated successfully, but these errors were encountered: