Opened 7 years ago

Closed 7 years ago

#16671 closed defect (fixed)

Non widget fixed bars are not correctly attached to top / bottom in scrollable view

Reported by: Sebastien Brunot Owned by: Eric Durocher
Priority: undecided Milestone: 1.9
Component: DojoX Mobile Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

see the attached example: if adding a non widget DIV with attribute fixed="top" and another one with attribute fixed="bottom" on a ScrollableView?, the DIV are not correctly attached to the top and the bottom of the view.

I'm also attaching a patch that solves the problem: the getChildren() method of ScrollableView? considers that all children nodes of the view are widgets while they may not.

Attachments (2)

ticket16671.html (1.2 KB) - added by Sebastien Brunot 7 years ago.
example that demonstrates the issue.
ticket16671.patch (4.5 KB) - added by Sebastien Brunot 7 years ago.
updated patch that follows dojo code style more carefully

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Sebastien Brunot

Attachment: ticket16671.html added

example that demonstrates the issue.

comment:1 Changed 7 years ago by Sebastien Brunot

Patch submitted with IBM CCLA

Changed 7 years ago by Sebastien Brunot

Attachment: ticket16671.patch added

updated patch that follows dojo code style more carefully

comment:2 Changed 7 years ago by cjolif

Milestone: tbd1.9

comment:3 Changed 7 years ago by cjolif

Resolution: fixed
Status: newclosed

In [30548]:

Fixes #16671. Make sure ScrollableView correctly reports which of its HTML child are actually widgets fixing issues when attaching non widget bars. Thanks Sebastien Brunot (IBM, CCLA).

Note: See TracTickets for help on using tickets.