Skip to content

Commit 05f7ded

Browse files
committed
Apply expanding animation correctly
1 parent a69041d commit 05f7ded

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

webextensions/sidebar/collapse-expand.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ export async function setCollapsed(tab, info = {}) {
5555
if (!TabsStore.ensureLivingTab(tab)) // do nothing for closed tab!
5656
return;
5757

58-
const changed = info.collapsed != tab.$TST.collapsed;
58+
const changed = (
59+
info.collapsed != tab.$TST.collapsed ||
60+
info.collapsed != tab.$TST.collapsedCompletely
61+
);
5962

6063
tab.$TST.shouldExpandLater = false; // clear flag
6164

0 commit comments

Comments
 (0)