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: 37
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: 1767
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

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

Re: ios keyboard popping up

Post by Wally » Tue May 22, 2018 5:31 pm

The app works reasonably well on my iPad with tons of things going on and hundreds of controls.

The "focus on nothing" in mouseUp works for btns but not cards or groups or other controls. Hopefully it can be fixed soon because the app does work on Mobile(iPad) except for this!

I was hoping some javascript expert could rescue us.

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

Re: ios keyboard popping up

Post by [-hh] » Tue May 22, 2018 11:12 pm

Wally wrote:the app does work on Mobile(iPad) except for this.
That's probably one reason that HTML5 standalones are not advertised for mobile usage.
Wally wrote:I was hoping some javascript expert could rescue us.
It is very simple to catch events by JavaScript. But for using these catched events you better write the whole app using JavaScript.
shiftLock happens

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

Re: ios keyboard popping up

Post by Wally » Thu May 24, 2018 2:49 pm

When I contributed($500) to the HTML5 funding campaign I was expecting Mobile usage.

In the "What can I do with it?" section of the funding page it said "As long as the platform can run an HTML5 capable browser, you can deliver your app to it."

From the funding page:
"When will the final version be delivered?"
"We aim to have a working prototype in the first half of 2015 and a final version later that year. A great deal of experimentation will be required to make web delivery fast enough so it is not possible to give a more accurate timescale yet."

I'm still very disappointed in the delivery of this platform - it's way past the time it should be out of beta and fully functional.

GregWills
Posts: 46
Joined: Sun Aug 30, 2015 7:51 am

Re: ios keyboard popping up

Post by GregWills » Sat Jun 23, 2018 3:28 am

[-hh] wrote:
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
I tried this at the card level and button level and in both cases, on a tablet, the keyboard popped up. So I guess it doesn't fix the issue.

It would be nice to have a HTML5 version that can be used on a mobile device, especially as so many people use these as their primary internet access. By this I mean, not an app: - for what I need.

cheers

Greg

Post Reply

Return to “HTML5”