Opened 12 years ago

Closed 11 years ago

#2889 closed defect (wontfix)

SplitContainer sizing is blocked when the top pane is scroll down

Reported by: guest Owned by: Adam Peller
Priority: high Milestone: 1.1
Component: Dijit Version: 0.4.2
Keywords: bordercontainer Cc:
Blocked By: Blocking:

Description

Having a vertical SplitContainer? with activeSizing = false. The top content pane has overflow = "auto" and contains a lot of text hence a vertical scrollbar is present.

When scrolling down to the bottom then want to resize: the top pane automatically takes the maximum place in the Splitcontainer and it is impossible resize it. I have to scroll back to the top to perform the sizing.

The problem occurs only with Firefox (2.0) it works fine with IE6 and IE7. dojo version : 0.4.2-src

A testcase to copy to dojo/tests/widget is provided


As a first analysis: The bug seems to be in the originPos calcutation in method beginSizing. A call to dojo.html.getAbsolutePosition is made and in case of node with orverflow = auto and scroll offset the resulting orgin could be a big negative integer.

Attachments (2)

test_SplitContainer_resizebug.html (19.6 KB) - added by guest 12 years ago.
test_SplitContainer_resizebug.2.html (38.8 KB) - added by Adam Peller 11 years ago.
test ported to 1.0 and BorderContainer?; SplitContainer? still fails in FF2, BorderContainer? seems ok

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by guest

comment:1 Changed 12 years ago by bill

Component: WidgetsDijit
Milestone: 0.9
Owner: changed from bill to koranteng

comment:2 Changed 12 years ago by bill

Owner: changed from koranteng to Adam Peller

comment:3 Changed 12 years ago by bill

Milestone: 0.91.0

comment:4 Changed 12 years ago by Adam Peller

Milestone: 1.01.1

comment:5 Changed 11 years ago by Adam Peller

Keywords: bordercontainer added

Changed 11 years ago by Adam Peller

test ported to 1.0 and BorderContainer?; SplitContainer? still fails in FF2, BorderContainer? seems ok

comment:6 Changed 11 years ago by Adam Peller

Resolution: wontfix
Status: newclosed

please use dijit.layout.BorderContainer?

Note: See TracTickets for help on using tickets.