Opened 7 years ago

Closed 7 years ago

#14991 closed defect (fixed)

ScrollableView broken when changing orientation while virtual keyboard is shown

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

Orientation changes during virtual keyboard showing up sometimes break ScrollableView?'s layout, and once it is broken it often cannot be restored even if virtual keyboard is hidden.

It can be reproduced in test_ScrollableView-*-inp.html.

Attachments (1)

14991.patch (1.5 KB) - added by Atsushi Ono 7 years ago.
[patch][ccla] patch to fix the issue (updated)

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by Atsushi Ono

Attached a patch to fix the issue. Scroll the focused input field into view on orientation changes while keyboard is shown so as not to break ScrollableView's layout.

Also update test_html-inputs.html to use "mblAlwaysHideAddressBar:true" so as not to break layout.

Changed 7 years ago by Atsushi Ono

Attachment: 14991.patch added

[patch][ccla] patch to fix the issue (updated)

comment:2 Changed 7 years ago by ykami

In [28138]:

Refs #14991 Fixed a problem where the layout breaks if the orientation is changed while keyboard is shown. Applied onoat's patch. 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.