Commit c5b1972
Fix popup: use JS dialog outside Blazor DOM tree
Previous fix removed the JS DOM portal but kept the dialog in Blazor's
render tree. The overlay showed but the dialog was clipped/invisible
due to ancestor overflow constraints that position:fixed alone can't
escape in WebView with scoped CSS.
Adopt the approach from PR #226: render the close-confirmation dialog
entirely via JS (window.showCloseSessionDialog), creating DOM elements
imperatively and appending to document.body. Blazor never tracks these
elements, so no render batch desync on open/close/delete.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d8978f3 commit c5b1972
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
0 commit comments