Opened 13 years ago

Closed 12 years ago

#2786 closed defect (duplicate)

Dijit Title Pane looses height on multiple click expansion

Reported by: guest Owned by: bill
Priority: high Milestone: 0.9beta
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

using dijittest/test.html

If you click on a Title Pane's header to contract then click again whilst the pane is contracting, (e.g double click several times) the Title pane looses the original height an expands / contract incorrectly.

I understand this is still under development but thought you might like to know.

Attachments (1)

fx.js.diff (1.2 KB) - added by guest 13 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 years ago by bill

Component: GeneralWidgets
Owner: changed from anonymous to bill

comment:2 Changed 13 years ago by guest

duplicate? see #1776

Nicola

Changed 13 years ago by guest

Attachment: fx.js.diff added

comment:3 Changed 13 years ago by guest

Maybe a stupid solution.

Nicola (nicola.rizzo+dojo@…. I can't write "[cla][patch]...")

comment:4 Changed 13 years ago by bill

(In [8420]) Cancel slideIn()/slideOut() if you click the title bar while an animation is in progress. This doesn't fix the issue in #2786 though, since:

1) slideIn() always starts at height 0, regardless of the current height 2) if a node has an explicit style.height setting, slideOut() tries to honor it, which is normally good but bad in the case that the height was set by an interrupted slideOut()

Refs #2786.

comment:5 Changed 12 years ago by bill

Component: WidgetsDijit

comment:6 Changed 12 years ago by guest

I made a fix using a simple semaphore to circumvent the problem that sometimes the "onEnd" events are lost!

obi068 -> email: obi068 + at + kabsi.at

//use semaphore to avoid invalid settings of the height 
		if (!this.node.isRunning) {
		oprop.overflow = s.overflow;
		oprop.height = s.height;
					};

comment:7 Changed 12 years ago by dante

Resolution: duplicate
Status: newclosed

deuplicate of #2343 ... seemingly.

Note: See TracTickets for help on using tickets.