fix(clipboard): stack clear dialog above modal (#3207)

This commit is contained in:
Huỳnh Thiện Lộc
2026-08-28 10:22:02 -04:00
committed by GitHub
parent 4c90a36ecf
commit fdabf949f1
2 changed files with 2 additions and 0 deletions
@@ -97,6 +97,7 @@ DankModal {
id: clearConfirmDialog
confirmButtonText: I18n.tr("Clear All")
confirmButtonColor: Theme.primary
useOverlayLayer: true
onShouldBeVisibleChanged: {
if (shouldBeVisible) {
clipboardHistoryModal.shouldHaveFocus = false;
@@ -104,6 +104,7 @@ DankPopout {
id: clearConfirmDialog
confirmButtonText: I18n.tr("Clear All")
confirmButtonColor: Theme.primary
useOverlayLayer: true
onShouldBeVisibleChanged: {
if (shouldBeVisible) {
root.customKeyboardFocus = WlrKeyboardFocus.None;