Option lists occlude: a wheel over the / menu, or any floating list, scrolled the page behind it too (#12)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-08 21:45:52 -04:00
1 parent 152d881f4f
commit ca6d2e219e
4 files changed
+53 -1

No files matched your search

+1
View File
@@ -321,6 +321,7 @@ impl Popup<'_> {
})
.max_w(window.viewport_size().width - theme.window_margin() * 2.0)
.max_h(theme.list_max_height())
.occlude()
.overflow_y_scroll()
.when_some(self.scroll, |list, handle| list.track_scroll(handle))
.p_1()