ios keyboard popping up

Bringing your stacks to the web

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Wally
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 35
Joined: Sun Jun 15, 2008 4:51 pm
Location: Albany, NY

ios keyboard popping up

Post by Wally » Thu Apr 12, 2018 6:47 pm

Anyone know a js trick to stop the built in ios keyboard from popping up no matter what control one touches? Of course we want this behavior for text input flds but not everything! My fairly complex HTML5 app works acceptably well(sorta) except for this problem.

gstrekkie
Posts: 27
Joined: Tue Aug 20, 2013 11:43 pm

Re: ios keyboard popping up

Post by gstrekkie » Mon May 14, 2018 3:51 pm

I too am experiencing this issue and was looking for a solution!

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1679
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: ios keyboard popping up

Post by [-hh] » Mon May 21, 2018 10:45 am

HTML5 standalones are not (really) made for mobile. So I have only very few experiences with very simple tests.

Did you already try the following?

Code: Select all

on mouseUp
   focus on nothing
   -- your code
on mouseUp
shiftLock happens

gstrekkie
Posts: 27
Joined: Tue Aug 20, 2013 11:43 pm

Re: ios keyboard popping up

Post by gstrekkie » Mon May 21, 2018 3:24 pm

Yes I too came across that solution however it doesn’t seem to work for me. If someone else has had any luck let me know perhaps I am not implementing it correctly. Thanks

Post Reply

Return to “HTML5”