Opened 10 years ago

Closed 4 years ago

#11018 closed defect (patchwelcome)

ScrollPane doens't scroll <div> content only

Reported by: zladivliba Owned by: dante
Priority: high Milestone: 1.13
Component: DojoX Layout Version: 1.4.0
Keywords: scrollpane Cc:
Blocked By: Blocking:

Description

Hello,

I've tried using a scrollPane to display content surrendered by divs and this doesn't work at all.

this.scrll.innerHTML = '<div class="test"><div class="item">item1</div>(200 items...)</div>';

var widget = new dojox.layout.ScrollPane?({

orientation: "vertical", style:"width:100%; height:300px; border:1px solid #ededed"

},"scrll");

And on my template :

<div dojoAttachPoint="scrll" id="scrll"></div>

Doing this the scroll doesn't work at all.

When I change my content to <h1>Title</h1> <li> element ... it works fine

Change History (6)

comment:1 Changed 9 years ago by haysmark

Priority: highestnormal
severity: blockernormal

See also:

http://archive.dojotoolkit.org/nightly/checkout/dojox/layout/tests/test_ScrollPane.html

When you move your mouse over the first vertical ScrollPanes?, you clearly see the contents scroll with respect to the mouse position. However, when you scroll the window down to the BorderContainer? test, you notice those ScrollPanes? aren't actually scrolling.

comment:2 Changed 9 years ago by haysmark

Component: GeneralDojox
Owner: changed from anonymous to Adam Peller

comment:3 Changed 9 years ago by Adam Peller

Owner: changed from Adam Peller to dante

comment:4 Changed 9 years ago by dante

Milestone: tbdfuture

comment:5 Changed 7 years ago by bill

Component: DojoxDojoX Layout

comment:6 Changed 4 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.