-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
How to scroll outer child when mouse is hovering on inner ones? #1502
Comments
It's not possible, you can use Why are you trying to do this? Does your second embedded child window has scrolling at all ? |
So I think your problem is the same as You shouldn't use a child window for inner, it's really overkill. |
Sorry, not exactly. inner never scrolls vertically, but may horizontally. Group doesn't fit, it seems there's no better option for the moment. |
I see. I think we could provide a solution in this case, by forwarding mouse scroll to the parent parent when Linking to #1380 for now. |
Nice. Thanks for the tips, I'll make a trade off for now. |
OK you can now use the
|
Does this include horizontal mouse scrolling? |
There's no horizontal mouse scrolling at the moment, I have yet to look at the PR (#1463) |
…tically forwarded to parent window if ScrollMax is zero on the scrolling axis. Also still case if ImGuiWindowFlags_NoScrollWithMouse is set (not new), but previously the forwarding would be disabled if ImGuiWindowFlags_NoScrollbar was set on the child window, which is not the case any more (amend #1502, #1380).
Note that I have amended this behavior today:
|
Hi, I got a question. I've made some nested children regions
Is it possible to scroll outer child when mouse is hovering on inner ones, with mouse wheel?
Thanks.
The text was updated successfully, but these errors were encountered: