Open Bug 1912008 Opened 3 months ago Updated 2 months ago

Add a new API to support better control over viewport resizes

Categories

(GeckoView :: General, enhancement)

All
Android
enhancement

Tracking

(Not tracked)

People

(Reporter: petru, Unassigned)

References

Details

Attachments

(1 file)

Based on the discussions and recommendations from https://bugzilla.mozilla.org/show_bug.cgi?id=1908249#c12 GeckoView needs to expose a new API

  • which doesn't change the layout viewport in the case of interactive-width:resizes-visual or interactive-widget-overlays-content but
  • does change the layout viewport in the case of interactive-widget=resizes-content

to supplement setDynamicToolbarMaxHeight and setVerticalClipping.

This is useful in the case when the dynamic toolbar height changes while in a webpage (see bug 1908249 for such a scenario).

See Also: → 1908249
Blocks: 1884807
See Also: → 1912854

Attaching file is a test case telling whether a resize event is observed when the software keyboard appears.

STR

  1. Tap the input element in the test case

If there's any resize event observed, the blue box color turns into red.

Blocks: 1916002
No longer blocks: 1884807
Blocks: 1916154
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: