gh-14912: Fixed feature callouts not using native panels (gh-14918)

This commit is contained in:
mr. m
2026-08-11 10:25:05 +02:00
committed by GitHub
parent b7439a92dc
commit b0b2b7a1de
2 changed files with 10 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
diff --git a/browser/components/asrouter/modules/FeatureCallout.sys.mjs b/browser/components/asrouter/modules/FeatureCallout.sys.mjs
index c4638d2d557f05fa6638cd379be8e0076336f8dc..2e25f485aa94485d12ca9e98aa4eaf56a06cf1f8 100644
index bc989826e648e2528b4142940e1ae4d192940235..4cd18e67fbb52ea33ae6a9b0a47cbf2359d1b832 100644
--- a/browser/components/asrouter/modules/FeatureCallout.sys.mjs
+++ b/browser/components/asrouter/modules/FeatureCallout.sys.mjs
@@ -778,6 +778,7 @@ export class FeatureCallout {
@@ -809,6 +809,7 @@ export class FeatureCallout {
) {
return false;
}
@@ -10,3 +10,11 @@ index c4638d2d557f05fa6638cd379be8e0076336f8dc..2e25f485aa94485d12ca9e98aa4eaf56
const style = this.win.getComputedStyle(el);
return style?.visibility === "visible" && style?.display !== "none";
@@ -1107,7 +1108,6 @@ export class FeatureCallout {
type="arrow"
consumeoutsideclicks="never"
norolluponanchor="true"
- nonnative=""
position="${panel_position.panel_position_string}"
${hide_arrow ? "" : 'show-arrow=""'}
${autohide ? "" : 'noautohide="true"'}

View File

@@ -344,9 +344,6 @@ class nsZenLiveFoldersManager {
},
});
lazy.setTimeout(() => {
callout.endTour();
}, 10000);
}
deleteFolder(id, deleteFolder = true) {