-
-
Notifications
You must be signed in to change notification settings - Fork 10.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
Redirecting window mouse wheel inputs to parent #1380
Comments
Hello @Twinki14, This was discussed in #1245, and while I would personally prefer Windows-style behavior to avoid that sort of issue you are hitting on, other people seemed to like Mac-style behavior. Note that being used on Mac this means that most applications there who needs embedded scrolling regions tends to leave some space available. For reference, the patch for Windows-style scrolling may be applied in
By changing the 3 occurences of A possible solution is when we find the flag PS: Please use github attachment for pictures/gif so that the pictures won't disappear in the future and those threads can be relevant to future readers. |
If you replace:
with:
It would solve your problem when passing |
@Twinki14 You can now use the
|
…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:
|
Currently i'm running into a problem of having Wrapped Text in a child region.
I have a child rregion, which consists of Columns, in those Columns I have another child region which has a TextWrapped of a description.
https://i.imgur.com/kvWAu6h.gif
The Window is intended to have enough items that scrolling will be needed, however when I hover over the Wrapped Text areas, it cannot scroll. I was able to solve it by using ImGuiWindowFlags_NoInputs on the child region inside the column, however if the Description now requires scrolling, users can no longer drag scroll, since all input isn't being cached for the child region.
Is there anyway I can block only specific inputs? or a potentially solution to this problem?
ADMIN Attached your GIF file. Please don't use imgur.com as those images will disappear:
The text was updated successfully, but these errors were encountered: