February 14, 2022, 11:32am
Hi all. It seems, that textfields with the HTML-Attribute 'contenteditable = true' cannot be edited in iOS, if there´s any action (no matter if JS or start Timeline and so on...) connected to the input field. Any ideas?
Best regards, Kalle
contenteditable_ios.zip (31.5 KB)
February 14, 2022, 12:05pm
you can always add your own eventlistener for 'input', 'click'... should work ... not tested. seems Hyperelated ...
February 14, 2022, 12:16pm
Maybe you could take an input element and make it look like a regular box?
I've wasted hours wondering why textfields with the HTML-Attribute 'contenteditable = true' only worked sometimes on iOS. Now I know! I hope this is just a bug and can be fixed.
February 14, 2022, 2:26pm
Hey Max here, the Hype Action Events guy…
Using an action event works as it bubbles the event rather than assigning it directly to the element.
February 14, 2022, 6:23pm
You can also uncheck
Use Touch Events from the Document Inspector and it should work.
February 15, 2022, 7:59am
Thanks all for having a look at this. Finally Jonathan´s solution worked best, since I didn´t have to adjust my desktop version to the mobile version. Still a little bit buggy, but overall - it works.
February 15, 2022, 8:33am
fits quite good