diff --git a/src/components/forms/TextField.tsx b/src/components/forms/TextField.tsx index 108a4916ea..6e3c71bbc8 100644 --- a/src/components/forms/TextField.tsx +++ b/src/components/forms/TextField.tsx @@ -95,6 +95,8 @@ export function Root({children, isInvalid = false, style}: RootProps) { a.relative, a.w_full, a.px_md, + // Contain the input's z-index so it cannot paint over nearby overlays. + {zIndex: 0}, style, ]} {...web({