Attempt to fix iphone input text zoom

This commit is contained in:
adilallo committed 2026-05-24 17:13:02 -06:00
1 parent e7c17b8651
commit bd536a407f
3 files changed
+6 -2

No files matched your search

+2
View File
@@ -44,6 +44,8 @@ describe("TextInput (size tests)", () => {
const { container } = render(<TextInput label="Test" inputSize="small" />);
const input = container.querySelector("input");
expect(input).toHaveClass("h-[32px]");
expect(input?.className).toContain("text-[16px]");
expect(input?.className).toContain("md:text-[14px]");
});
it("forwards maxLength to the native input", () => {