Attempt to fix iphone input text zoom

This commit is contained in:
adilallo
2026-05-24 17:13:02 -06:00
parent e7c17b8651
commit bd536a407f
3 changed files with 6 additions and 2 deletions
+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", () => {