Opened 14 years ago
Closed 14 years ago
#3830 closed defect (duplicate)
Dialog _duration = 0 not working in some browsers
Reported by: | guest | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | General | Version: | 0.9 |
Keywords: | Dialog duration | Cc: | |
Blocked By: | Blocking: |
Description
Setting _duration = 0, does not work with Opera, Epiphany and sometimes with Firefox
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Milestone: | → 1.1 |
---|
Not sure why that's happening (a bug in the animation libraries?), but note that _duration has an _ meaning that it's a private variable. Still I can take a look. Not though that Opera and Epiphany aren't currently supported.
comment:3 Changed 14 years ago by
(want to close as wontfix/fixed): _duration is now public in Dialog (duration), and animation duration cannot be 0 (no time?) ... setting value to 1 popups dialog instantly, but still creates the animations. The alternative is to have a 'toggle' animation defined, OR to use raw styles in show/hide (in the event of duration=0) ... tested with duration=1 (and a simple if (!this.duration) { this.duration=1; } in postCreate) and it still runs very fast (visually seamless) ...
comment:4 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Ah, Dante is right. See #3827. This is basically a duplicate.
More info
Dojo version: dojo-0.9.0beta
OS: Linux Ubuntu 7.04
Browser: Opera 9.21.641, Epiphany 2.18.1, Firefox 2.0.0.5
Mail: [email protected]…
Code: