flowbite icon indicating copy to clipboard operation
flowbite copied to clipboard

Update the documentation in relation to form inputs on mobile

Open spaquet opened this issue 2 years ago • 1 comments

iOS (tested and verified) introduced an "auto zoom" feature for form input with input text inferior to 16px. This can be very annoying as the UI is not restored once the focus is removed from the selected input.

To prevent this, the input text should be text-basic and not text-sm as this is the case right now. I found out that having the following style works as expected: text-base md:text-sm

This should be mentioned in the documentation as a time saver for other developers.

Here is some information about the "issue" (aka feature): https://twitter.com/joshwcomeau/status/1379782931116351490?s=12

spaquet avatar Aug 28 '22 07:08 spaquet

Hello @spaquet,

Thanks for reporting this. It'll get fixed for the v2.0 update.

zoltanszogyenyi avatar Sep 12 '22 12:09 zoltanszogyenyi