Opened 14 years ago
Closed 14 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)
Change History (8)
comment:1 Changed 14 years ago by
Component: | General → Widgets |
---|---|
Owner: | changed from anonymous to bill |
comment:2 Changed 14 years ago by
Changed 14 years ago by
Attachment: | fx.js.diff added |
---|
comment:3 Changed 14 years ago by
Maybe a stupid solution.
Nicola ([email protected]…. I can't write "[cla][patch]...")
comment:4 Changed 14 years ago by
(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 14 years ago by
Component: | Widgets → Dijit |
---|
comment:6 Changed 14 years ago by
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 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
deuplicate of #2343 ... seemingly.
duplicate? see #1776