Bind notification popup mask to the toast column item

Use Region { item: popupColumn } instead of manually mirroring the
column's x/y/width/height. It tracks the item's mapped geometry directly,
so it stays correct without assuming the column shares the window's
coordinate space.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-07-24 09:24:30 -07:00
co-authored by Claude Opus 4.8
parent b1a9d7912e
commit b6bd486c39
+1 -6
View File
@@ -795,12 +795,7 @@ Item {
// Keep the surface click-through except over the toast column, so the
// rest of the (invisible) full-screen overlay never eats input.
mask: Region {
x: popupColumn.x
y: popupColumn.y
width: popupColumn.width
height: popupColumn.height
}
mask: Region { item: popupColumn }
ColumnLayout {
id: popupColumn