Opened 7 years ago

Closed 7 years ago

#14885 closed task (fixed)

Reconsider resize event handling on Android

Reported by: Atsushi Ono Owned by: ykami
Priority: high Milestone: 1.8
Component: DojoX Mobile Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

Dojo Mobile handles resize event and do "resizeAll" for Android to be resized correctly when orientation changes. However, Android webkit fires resize event too many times (when keyboard is shown, just scrolling, etc) so we should reconsider the frequency of resizing to reduce overhead.

Attachments (1)

14885.patch (1.4 KB) - added by Atsushi Ono 7 years ago.
[patch][ccla] patch for the new resize event handling

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Atsushi Ono

Attachment: 14885.patch added

[patch][ccla] patch for the new resize event handling

comment:1 Changed 7 years ago by Atsushi Ono

Attached a patch for the new resize event handling on Android:

  • handle the resize event just once only after the orientation change event is fired
  • reset the min height of body when resizing (for the case not using "mblAlwaysHideAddressBar")

comment:2 Changed 7 years ago by ykami

In [28004]:

Refs #14885 !strict Added resize event handling for Android. Thanks onoat for the patch.

comment:3 Changed 7 years ago by ykami

Milestone: tbd1.8
Priority: undecidedhigh
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.