Skip to content

Commit

Permalink
chore: followup bug 1927111 - Don't rely on static position (top: aut…
Browse files Browse the repository at this point in the history
…o) for urlbar position
  • Loading branch information
onemen committed Nov 2, 2024
1 parent e572328 commit 73fdfce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addon/chrome/content/tab/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,9 @@ Tabmix.tabsUtils = {
}
this.updateOverflowMaxWidth();
this.updateVerticalTabStrip();
if (Tabmix.isVersion(1340)) {
gURLBar.onWidgetAfterDOMChange(gURLBar.textbox.parentNode);
}
break;
}
}
Expand Down
4 changes: 4 additions & 0 deletions types/general.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,12 @@ interface gURLBar extends HTMLElement {
_whereToOpen: (event?: Event & {__tabmix__whereToOpen?: WhereToOpen}) => WhereToOpen;
focused: boolean;
handleCommand(event?: Event): void;
onWidgetAfterDOMChange(aNode: Node): void;
select: () => void;
setURI: (uri?: string, dueToTabSwitch?: boolean, dueToSessionRestore?: boolean, dontShowSearchTerms?: boolean, isSameDocument?: boolean) => void;
textbox: Node & {
parentNode: Node;
};
untrimmedValue: string;
view: UrlbarView;
value: string;
Expand Down

0 comments on commit 73fdfce

Please sign in to comment.