fix: Fix z-index rendering issue when card is expanded (#2274)

- Closes #2155
This commit is contained in:
Dermot Duffy
2025-12-09 23:45:07 -08:00
committed by GitHub
parent 252ead62dc
commit 639c5c3e4b
4 changed files with 51 additions and 6 deletions
+6
View File
@@ -1,3 +1,4 @@
import { setOrRemoveAttribute } from '../utils/basic';
import { CardExpandAPI } from './types';
export class ExpandManager {
@@ -28,6 +29,11 @@ export class ExpandManager {
this._expanded = expanded;
this._setConditionState();
setOrRemoveAttribute(
this._api.getCardElementManager().getElement(),
expanded,
'expanded',
);
this._api.getCardElementManager().update();
}