tailwind-react-ui icon indicating copy to clipboard operation
tailwind-react-ui copied to clipboard

Inputs don't work in Safari

Open Kukunin opened this issue 5 years ago • 0 comments

You can check the demo page in Safari, you can't type text in the TextInput component. This is because of select="none" attribute in Touchable. As a workaround, TextInput can override the attribute with select="auto" or add a CSS for the global change:

/* Hack for cancelation select-none in Safari for inputs */
input.select-none { @apply select-auto }

Kukunin avatar Jan 28 '20 12:01 Kukunin