Skip to main content
Inspiring
June 12, 2019
Answered

StageWebView bounce

  • June 12, 2019
  • 1 reply
  • 379 views

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 topic has been closed for replies.
Correct answer dews

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>

1 reply

dewsAuthorCorrect answer
Inspiring
June 13, 2019

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>