overscroll behaviour

Bug #1415952 reported by Olivier Tilloy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Oxide
New
Undecided
Unassigned

Bug Description

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. And we’d probably want to enable controlling this setting per edge (i.e. allow overscrolling that displaces the content on the top edge, and overscrolling that doesn’t displace the content on the bottom edge).

Olivier Tilloy (osomon)
description: updated
Revision history for this message
Peter Bittner (peter-bittner) wrote :

Overscrolling should trigger reloading of the current page or document. This would make the browser behavior more consistent with other apps on the Ubuntu Touch device, such as the Dekko mail client, the Today scope, and any other scopes and apps that sometimes require user-triggered refreshing of data to display.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.