Open 3gx opened 1 month ago
I'm experiencing this in my app, but I'm able to use ui.push_id()
as a workaround. I can elaborate if anyone would like more details.
I'm experiencing this in my app, but I'm able to use
ui.push_id()
as a workaround. I can elaborate if anyone would like more details.
Yes, I would appreciate if you can share your workaround. Than you.
@3gx I'm using my own version of egui's drag-and-drop API but the solution can probably be adapted to work. Try ui.dnd_drag_source(item_id, item_location, |ui| ui.push_id(id, |ui| ...))
(with some unique id
).
Describe the bug
To Reproduce Steps to reproduce the behavior:
https://github.com/emilk/egui/blob/master/crates/egui_demo_lib/src/demo/drag_and_drop.rs#L72C1-L75C1
,replace
with
Click on it
Error