Opened 11 years ago
Closed 11 years ago
#10257 closed defect (duplicate)
Dialog: underlay disappear during consecutive hide and show
Reported by: | jefimm | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | Dijit | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
The following problem happens to me when using dijit.Dialog when using several dialogs that imitate series of questions to the user:
- open dialog1
- in the dialog press a button that closes this dialog (dialog1) and opens dialog2.
Problem: the dialog2 is shown but the dialog underlay disappears. If the window is re-sized then the underlay is shown.
Attachments (1)
Change History (8)
comment:1 follow-up: 2 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Milestone: | tbd → 1.4 |
Resolution: | → duplicate |
Status: | new → closed |
Summary: | dialog underlay disapper → Dialog: underlay disappear |
comment:2 Changed 11 years ago by
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
Replying to bill:
Version 1.3 didn't support multiple dialogs. Version 1.4 does.
If this is still failing in 1.4, then as usual please attach a test case using the Attach file button. Also, list what browser/OS it fails on?.
This fails on FF 3.5.4/WindowsXP. Does showing a sequence of dialogs (only one active at a time) means multiple dialogs ?
comment:3 follow-up: 4 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
I guess that's a bit different, still might be fixed in 1.4.
Anyway this is a dup of #2238.
comment:4 Changed 11 years ago by
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
comment:5 Changed 11 years ago by
Milestone: | 1.4 → 1.5 |
---|
OK, then, as I said above, you need to attach a test case using the attach file button.
comment:6 Changed 11 years ago by
this is because calling dlg1.hide(); dlg2.show() use the same underlay... dlg1._hideAnim (made up name) is still playing when dlg2._showAnim (made up name) starts... so you have a race condition and 2 animations fighting over what to do... one of them probably ends up failing (the dlg2._showAnim would be my guess)
comment:7 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Summary: | Dialog: underlay disappear → Dialog: underlay disappear during consecutive hide and show |
OK, I'll handle it along with #2238. Yes, I understand it's a problem with the underlay.
Version 1.3 didn't support multiple dialogs. Version 1.4 does.
If this is still failing in 1.4, then as usual please attach a test case using the Attach file button. Also, list what browser/OS it fails on?.