You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When wrapping the CollapsingHeader inside of a dnd_drag_source layer it no longer shows the items inside or it now longer closes when clicking it. CollapsingHeader and dnd_drag_source both describes interactive behavior on how to behave when using the mouse. However the functionalities seem to conflict, while I would expect it both to work.
Expected behavior
The Item 1A, 2A, 2A should show up (just like 1B, 2B, 3B does). Additionally the collapsing header should close again when clicking it. Of course 'collapsing header A' should also still enable drag 'n drop functionality.
Desktop (please complete the following information):
OS: Windows 11 Pro
Version 0.30 egui/eframe and Git master
Smartphone (please complete the following information):
Device:
OS:
Browser
Version
Additional context
The behavior on version 0.30 egui has the collapsing header A closed, while in the git master branch version it does not close.
The text was updated successfully, but these errors were encountered:
Describe the bug
When wrapping the CollapsingHeader inside of a dnd_drag_source layer it no longer shows the items inside or it now longer closes when clicking it. CollapsingHeader and dnd_drag_source both describes interactive behavior on how to behave when using the mouse. However the functionalities seem to conflict, while I would expect it both to work.
To Reproduce
Run following code:
ui.dnd_drag_source(Id::from("dnd_id"), 0, |ui| { egui::CollapsingHeader::new("collapsing header A").default_open(true).show(ui, |ui| { ui.label("Item 1A"); ui.label("Item 2A"); ui.label("Item 3A"); }); }); egui::CollapsingHeader::new("collapsing header B").default_open(true).show(ui, |ui| { ui.label("Item 1B"); ui.label("Item 2B"); ui.label("Item 3B"); });
Expected behavior
The Item 1A, 2A, 2A should show up (just like 1B, 2B, 3B does). Additionally the collapsing header should close again when clicking it. Of course 'collapsing header A' should also still enable drag 'n drop functionality.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The behavior on version 0.30 egui has the collapsing header A closed, while in the git master branch version it does not close.
The text was updated successfully, but these errors were encountered: