3 ms·
I second this. I hit a goofy issue recently too: Safari can't select text in text boxes... but only sometimes. What causes it is unclear. Out of this mountain o
by ntoskrnl 4y ago
I second this. I hit a goofy issue recently too: Safari can't select text in text boxes... but only sometimes. What causes it is unclear. Out of this mountain of workarounds, I had to use setTimeout: https://stackoverflow.com/questions/3272089/programmatically-selecting-text-in-an-input-field-on-ios-devices-mobile-safari https://stackoverflow.com/questions/3272089/programmatically...
And in Safari there's zero visibility into why things break, they just silently don't work. At least Chrome is pretty good (in my experience) about throwing an exception or at least logging warnings to the console