Skip to content

Commit e030d84

Browse files
feat(overlay): add zIndex type to include auto
1 parent 3e0feaf commit e030d84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/elements/src/overlay/elements/overlay.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,10 @@ export class Overlay extends ResponsiveElement {
325325

326326
/**
327327
* Set a preferable z-index to override automatically calculated z-index
328-
* @type {number|null|undefined}
328+
* @type {number|string|null|undefined}
329329
*/
330330
@property({ type: Number, attribute: 'z-index' })
331-
public zIndex: number | NullOrUndefined;
331+
public zIndex: number | 'auto' | NullOrUndefined;
332332

333333
/**
334334
* Set a specific x coordinate

0 commit comments

Comments
 (0)