Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread TBrowser iOS
Thu, Feb 4 2016 3:09 PMPermanent Link

Robby

Hello,

I am having a problem with the TBrowser object and scrolling on iPhones and iPads.  I have seen reference to a similar problem under the "Problem with scrolling" thread, but I am not sure of the resolution.

I have a TBrowser object inside a TPagePanel Page.  The browser shows some consent text and asks the user to click Yes or No at the bottom of the page.  The goal is for users to read (or pretend to read) the consent text before proceeding.  The TBrowser functionality works perfectly on desktops and Android smartphones/tablets, but on iOS devices users are unable to scroll to the bottom of the browser page.

Am I missing something very basic here, which is usually the case, or I am trying to do something that is un-doable on iOS?

Thanks for your help!
---------------------
Robert M. Keene
Thu, Feb 4 2016 3:11 PMPermanent Link

Robby

BTW...
https://sbs.ucsur.pitt.edu/reg/registry.html?s=uw
------------------------------------------------------------------------------------------------------------------

Robby wrote:

Hello,

I am having a problem with the TBrowser object and scrolling on iPhones and iPads.  I have seen reference to a similar problem under the "Problem with scrolling" thread, but I am not sure of the resolution.

I have a TBrowser object inside a TPagePanel Page.  The browser shows some consent text and asks the user to click Yes or No at the bottom of the page.  The goal is for users to read (or pretend to read) the consent text before proceeding.  The TBrowser functionality works perfectly on desktops and Android smartphones/tablets, but on iOS devices users are unable to scroll to the bottom of the browser page.

Am I missing something very basic here, which is usually the case, or I am trying to do something that is un-doable on iOS?

Thanks for your help!
---------------------
Robert M. Keene
---------------------
Robert M. Keene
Thu, Feb 4 2016 4:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Robert,

<< I have a TBrowser object inside a TPagePanel Page.  The browser shows some consent text and asks the user to click Yes or No at the bottom of the page.  The goal is for users to read (or pretend to read) the consent text before proceeding.  The TBrowser functionality works perfectly on desktops and Android smartphones/tablets, but on iOS devices users are unable to scroll to the bottom of the browser page.

Am I missing something very basic here, which is usually the case, or I am trying to do something that is un-doable on iOS? >>

There have been some scroll issues with various iOS versions, but I don't think that's the case here.  I'm doing some testing, and should have an answer soon for you.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Feb 4 2016 4:35 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Robert,

Not having much luck here.  It's definitely something wonky with Safari on iOS, and there's lots of links online about the problems with it, but none of the solutions are working, so I may not be able to fix this.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Feb 4 2016 4:40 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Robert,

Is what you're storing in the TBrowser just plain HTML ?  If so, then a workaround might be for me to whip up an "HTML control" instead and see if that works better.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Feb 5 2016 4:16 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> Robert,
>
> Is what you're storing in the TBrowser just plain HTML ?  If so, then
> a workaround might be for me to whip up an "HTML control" instead and
> see if that works better.


Looks like an iFrame with a standard web page. I kknow little of these
things, but looking at it in Chrome I see "touch-action: none;" which
according to Google says don't do any default touch actions. There are
options for pan-y etc, which makes me wonder if this might be a clue?

One thing I find really good about iOS is that you can connect your
iPhone to the Mac in a developer mode, and see everything in the DOM
and how it is working, just like Chrome on the desktop. I haven't
though tried changing the DOM over the wire like that, which I'd do if
I were to dig deeper and try removing that attribute.


--

Matthew Jones
Fri, Feb 5 2016 7:34 AMPermanent Link

Robby

Tim Young [Elevate Software] wrote:

Robert,

Is what you're storing in the TBrowser just plain HTML ?  If so, then a workaround might be for me to whip up an "HTML control" instead and see if that works better.

Tim Young
Elevate Software
www.elevatesoft.com
------------------------------------------------

Yep just basic HTML.  Thanks for checking into this.
---------------------
Robert M. Keene
Fri, Feb 5 2016 12:10 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Looks like an iFrame with a standard web page. I kknow little of these things, but looking at it in Chrome I see "touch-action: none;" which according to Google says don't do any default touch actions. There are options for pan-y etc, which makes me wonder if this might be a clue? >>

Good catch, but there are some complex interactions involved with this in the DOM related to the touch events themselves (for example, returning True from an "touchstart" event tells the browser to *allow* the touch).  So, unfortunately, just disabling that doesn't fix the issue.

<< One thing I find really good about iOS is that you can connect your iPhone to the Mac in a developer mode, and see everything in the DOM and how it is working, just like Chrome on the desktop. I haven't though tried changing the DOM over the wire like that, which I'd do if I were to dig deeper and try removing that attribute. >>

Unfortunately, that doesn't tell me anything about what is going on *internally* with the WebKit browser as far as what setting it *expects* to have in order to allow the scrolling.  Plus, there have been a lot of issues reported online with iframe scrolling on Safari/iOS, so where there's smoke there's usually fire.... Wink

Tim Young
Elevate Software
www.elevatesoft.com
Image