diff --git a/src/layouts/stack.ts b/src/layouts/stack.ts index c8f8e06a..9f64f70e 100644 --- a/src/layouts/stack.ts +++ b/src/layouts/stack.ts @@ -301,7 +301,7 @@ function getCommonStyles(opts: { } return { - zIndex, + zIndex: Math.round(zIndex), opacity, }; }