We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d73e0 commit f9564f6Copy full SHA for f9564f6
src/webviews/apps/plus/home/components/branch-card.ts
@@ -496,8 +496,9 @@ export abstract class GlBranchCardBase extends GlElement {
496
}
497
498
499
- private onFocus() {
500
- if (this.expanded) return;
+ private onFocus(e: FocusEvent) {
+ const actionElement = e.composedPath().some(el => (el as HTMLElement).matches?.('action-item') ?? false);
501
+ if (actionElement || this.expanded) return;
502
this.toggleExpanded(true);
503
504
0 commit comments