Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Scrolling on mobile devices
Thu, Jan 12 2017 9:29 AMPermanent Link

Uli Becker

As it was mentioned before, EWB is responsible for the complete
scrolling. Therefore on mobile devices a fast and accelerated scrolling
(wiping more or less fast) is not possible.

This behaviour changes when there is a TBrowser control within the EWB
app. Within the bounds of such a control the mobile browser takes
control over the scrolling.

What I don't understand: if only the viewport is scrolled (not any
control with the EWB app like a ScrollPanel or scrollable form or
surface): why doesn't the browser keep the control over scrolling? Or
IOW: how can a fast scrolling on a mobile device be realized (if possible)?

Thanks Uli
Thu, Jan 12 2017 10:14 AMPermanent Link

Raul

Team Elevate Team Elevate

On 1/12/2017 9:29 AM, Uli Becker wrote:
> What I don't understand: if only the viewport is scrolled (not any
> control with the EWB app like a ScrollPanel or scrollable form or
> surface): why doesn't the browser keep the control over scrolling? Or
> IOW: how can a fast scrolling on a mobile device be realized (if possible)?

Uli,

Not really answering your question but can your mobile device browser by
itself do fast scrolling in browser ?

For example on my device (iOS) i find safari to have crappy scrolling in
all cases (no ewb - just web pages). Chrome does lot better but even
that is not nearly as fast as scrolling in (native) apps.


Raul
Thu, Jan 12 2017 10:24 AMPermanent Link

Uli Becker

Raul,

> Not really answering your question but can your mobile device browser by
> itself do fast scrolling in browser ?
>
> For example on my device (iOS) i find safari to have crappy scrolling in
> all cases (no ewb - just web pages). Chrome does lot better but even
> that is not nearly as fast as scrolling in (native) apps.

I juse Android devices (current phone is Huawei Mate 8) and with Chrome
it's as fast as in native apps.
In addition to this I made some experiments with EWB and Phonegap. I
guess the built in browser is used in this case - but the performance is
the same.

Uli
Fri, Jan 27 2017 9:11 AMPermanent Link

Uli Becker

I really would like to know more details about scrolling the ViewPort
especially on mobile devices.

As I described before: when there is a TBrowser control on the form,
scrolling is under control of the browser and works fine, if not, EWB
does the scrolling (of the ViewPort) and that's too slow for mobile devices.

BTW: For mobile apps with forms which are not interactive, I place a
transparent TBrowser control on the form and thus scrolling works fine.

I think it's a very important point for mobile apps, since the user
expects fast scrolling by wiping. If the content just moves by 2 or 3
lines, scrolling "doesn't work" from the user's point of view.

Thanks Uli
Image