#12547 closed defect (fixed)
ScrollableView: Wrong Height and Cannot Scroll to End in Complex Layout
Reported by: | ykami | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.0 |
Keywords: | 1.7-mobile | Cc: | |
Blocked By: | Blocking: |
Description
ScrollableView sometimes miscalculates the view height especially when views are nested and both an inner view and an outer view have fixed headers. In such cases, you cannot scroll to the very bottom of the view. The attached file is an example to reproduce this problem.
[IBM:1814]
Attachments (1)
Change History (6)
Changed 10 years ago by
Attachment: | testScrollableView2.html added |
---|
comment:1 Changed 10 years ago by
Several fixes and refactoring have been done regarding layout and resize.
- Added resize() method to each resizable widget.
- The resize() method will be called from the parent widget if any.
- If a widget is a top-level widget, resize() will be called from dojox.mobile.resizeAll().
- scrollable#resizeView has been renamed to resize().
- scrollable no longer connects to onorientationchange/onresize events.
- Fixed header's layout has been changed from position:absolute to position:relative.
- fixedHeaderHeight no longer need to be explicitly specified.
- FixedSplitter no longer connects to onorientationchange/onresize events.
- TabBar#onResize() has been renamed to resize().
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Still have resize problems. resize() is called unnecessarily a couple of times.
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:5 Changed 10 years ago by
Note: See
TracTickets for help on using
tickets.
An example to reproduce the problem