Skip to content

Commit b5fc52e

Browse files
committed
Contain BaseUI hidden inputs within Field to stop phantom document scroll
1 parent c4499c7 commit b5fc52e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • application/shared-webapp/ui/components

application/shared-webapp/ui/components/Field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function FieldGroup({ className, ...props }: React.ComponentProps<"div">) {
4747
);
4848
}
4949

50-
const fieldVariants = cva("group/field flex w-full gap-3 data-[invalid=true]:text-destructive", {
50+
const fieldVariants = cva("group/field relative flex w-full gap-3 data-[invalid=true]:text-destructive", {
5151
variants: {
5252
orientation: {
5353
vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],

0 commit comments

Comments
 (0)