-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow holding shift on ScrollAreas with horizontal scrolling disabled #3624
Comments
This issue is most likely caused by #663 as that is when horizontal scrolling was added. (Which uses Shift to know when to horizontally scroll) |
is this bug about not being able to scrol while holding down shift, or not being able to scroll after tapping shift once and then releasing it? |
@emilk It's about not being able to scroll after tapping shift once. |
I can't reproduce. Sounds like a problem of sticky modifier keys on your system. Does egui report the SHIFT modifier to be pressed even after you released it? ( Please take a look at |
It might be a |
Check out this repository and run |
Yeah I can't reproduce the bug when using I also did |
I'm reopening this for a different reason. Because even if Shift is being held, it shouldnt affect the scrolling if horizontal scrolling is disabled. |
Describe the bug
Pressing/Tapping Shift after a
ScrollArea::new([false, true])
(Vertical Scrolling Only) was opened causes scrolling via the scroll wheel to no longer work.To Reproduce
Steps to reproduce the behavior:
ScrollArea
with only vertical scrolling.Expected behavior
The
ScrollArea
always scrolls vertically regardless of if Shift was pressed or not.Desktop (please complete the following information):
bevy_egui = "0.23.0"
,egui = { version = "0.23.0", default-features = false, features = ["bytemuck"] }
Additional context
I am using
egui
inbevy
usingbevy_egui
.The text was updated successfully, but these errors were encountered: