Comment 0 for bug 1415952

Revision history for this message
Olivier Tilloy (osomon) wrote :

It would be very interesting to have a way to conditionally enable overscroll on the webview.

I’m thinking of the new design for webbrowser-app which requires the webview to allow scrolling beyond the top of the page, to display a hint that will trigger opening a new tab when released.

So ideally, the content would be displaced when overscrolling (if overscrolling is enabled for the given edge) and the flickable-like API (contentX/contentY) would reflect the overscroll value to allow embedders to display additional content.

Note that in chrome on android, overscrolling doesn’t displace the content (but instead shows a glow animation), so for added flexibility we might want to make the displacement of the content optional.