{"id":1239,"date":"2015-04-20T11:27:36","date_gmt":"2015-04-20T21:27:36","guid":{"rendered":"http:\/\/mymonkeydo.com\/?p=1239"},"modified":"2015-04-20T11:27:36","modified_gmt":"2015-04-20T21:27:36","slug":"ipad-textarea-not-selectable","status":"publish","type":"post","link":"https:\/\/mymonkeydo.com\/ipad-textarea-not-selectable\/","title":{"rendered":"iPad textarea not selectable"},"content":{"rendered":"
The textarea on iPad\u00a0could not be selected and could not have anything entered.<\/p>\n
The\u00a0textarea in iPad only\u00a0responds\u00a0to the ‘touchstart’ event and not the ‘click’ event, but regular input accepts the ‘click’ apparently. \u00a0I some javascript\u00a0where it would catch the ‘touchstart’ event and trigger a ‘click’ event to make things a little faster on iPads. \u00a0This prevented the textarea from being selected and edited.<\/p>\n
Another possible solution was I didn’t have the cols and rows attribute in the textarea html tag. \u00a0Adding these attributes before the class or id attributes solved it for some people.<\/p>\n