Closed Bug 970094 Opened 11 years ago Closed 10 years ago

Expose a mechanism to configure APZC authorize overscroll

Categories

(Core :: Panning and Zooming, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: vingtetun, Unassigned)

References

Details

Attachments

(1 file)

In order to build a keyboard that does not resize windows it would be handy to have a mechanism, configurable from the system app, to define an overscrollable amount for pannable that are partly covered by the keyboard.
Something that just change the mScrollableRect like this patch should be handy. This will obviously need more love to redirect events to the right target by taking into account the overscrolled content.

Also the allowed overscrollable amount should take into account the y/height position of the scrollable in order to not offer to much overscroll.
Thinking loud a way to configure that could be to establish a bridge BrowserElementParent -> TabParent -> RenderFrameParent -> APZCTreeController that set the right mScrollableRect for an AsyncPanZoomController.

That will let the system app call a method on a particular <iframe mozbrowser> in order to define the allowed overscroll based on the keyboard height.
I think the latest version of the patch in bug 970093 incorporates the conceptual purpose of the change here, so it obsoletes this bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: