-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Any way to make overlapping widgets gain interaction when interactivity is non-overlapping? #2390
Comments
@emilk Would greatly appreciate your comments here as I am trying to solve this issue for my use-case. At the moment I could not even come up with a user side workaround and at this point I am messing around with the egui code base. After much investigation I understand that with the current implementation only one let id = ui.make_persistent_id("ae35d739");
ui.with_layer_id(LayerId { order: Order::Background, id }, |ui| { /* code */ }) Luckily the Currently main outstanding questions:
|
I am using
ScrollArea
with some buttons inside of the scroll viewport that need to capture click interactivity. However when those are clicked the dragging (scrolling) no longer works. Is there anyway to cascade the dragging interactivity while take the clicking interactivity for the buttons?EDIT: Reading through the sources of information I found this seems that one proposed idea is to somehow use an
Area
or a higher layer_id. However in this situation I am not positive it will work due to the scroll area containing it's content.The text was updated successfully, but these errors were encountered: