Highlighted

StageWebView bounce

Engaged ,
Jun 12, 2019

Copy link to clipboard

Copied

Has anyone found a resolution to this per chance?

I found a post that talks about how this can be resolved - but it's something Adobe would have to do:

Stop the Bouncy UIWebViews! – Logorrhea

This concerns the native bounce when dragging vertically often from the edges but can also affect divs that float above scrollable content within a StageWebView.

This was some simple CSS to resolve actually - the DIV that you want to be able to scroll - wrap in something like this:

<div style="position: fixed; height:100%; width:100%; top:0; left:0;">

The actual div that has the scrollable element:

<div  style="height:calc(100% - 1px); width:100%; margin-top: 0px; overflow-y: scroll; -webkit-overflow-scrolling: touch;"></div>

TOPICS
Air beta

Views

187

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

StageWebView bounce

Engaged ,
Jun 12, 2019

Copy link to clipboard

Copied

Has anyone found a resolution to this per chance?

I found a post that talks about how this can be resolved - but it's something Adobe would have to do:

Stop the Bouncy UIWebViews! – Logorrhea

This concerns the native bounce when dragging vertically often from the edges but can also affect divs that float above scrollable content within a StageWebView.

This was some simple CSS to resolve actually - the DIV that you want to be able to scroll - wrap in something like this:

<div style="position: fixed; height:100%; width:100%; top:0; left:0;">

The actual div that has the scrollable element:

<div  style="height:calc(100% - 1px); width:100%; margin-top: 0px; overflow-y: scroll; -webkit-overflow-scrolling: touch;"></div>

TOPICS
Air beta

Views

188

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 12, 2019 0
Engaged ,
Jun 12, 2019

Copy link to clipboard

Copied

This was some simple CSS to resolve actually - the DIV that you want to be able to scroll - wrap in something like this:

<div style="position: fixed; height:100%; width:100%; top:0; left:0;">

The actual div that has the scrollable element:

<div  style="height:calc(100% - 1px); width:100%; margin-top: 0px; overflow-y: scroll; -webkit-overflow-scrolling: touch;"></div>

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2019 0