Fix popups sometimes getting clipped by panels

This commit is contained in:
Emil Ernerfeldt 2021-09-28 22:19:03 +02:00
parent 711defddb8
commit f2dd3dfdd9
2 changed files with 2 additions and 0 deletions

View file

@ -25,6 +25,7 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md), [`eg
* Fix wrongly sized multiline `TextEdit` in justified layouts.
* Fix clip rectangle of windows that don't fit the central area.
* Show tooltips above widgets on touch screens.
* Fix popups sometimes getting clipped by panels.
## 0.14.2 - 2021-08-28 - Window resize fix

View file

@ -240,6 +240,7 @@ fn show_tooltip_area_dyn<'c, R>(
.order(Order::Tooltip)
.fixed_pos(window_pos)
.interactable(false)
.drag_bounds(Rect::EVERYTHING) // disable clip rect
.show(ctx, |ui| {
Frame::popup(&ctx.style())
.show(ui, |ui| {