[TIMOB-1216] Open a modal window inside of a modal causes the parent modal to be non responsive .
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-07-20T12:49:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | core |
Reporter | Sj101 |
Assignee | Neeraj Gupta |
Created | 2011-04-15T02:46:51.000+0000 |
Updated | 2017-03-09T23:27:09.000+0000 |
Description
If you open a modal window from a modal window, and once the sub-modal window is closed, the parent modal window doesn't response to any clicks.
Attached sample app.js. Click on the button to open modal window and another button to open the sub modal window. Then close the sub modal window and try to click the button again, it's unclickable.
iPhone 4.0 sdk (had this same problem with 3.1.3) with the latest build from head.
Attachments
File | Date | Size |
---|---|---|
app.js | 2011-04-15T02:46:52.000+0000 | 2557 |
I had this working in 1.3.1 by closing the first modal window before opening the second. In 1.3.2 (blog post build) and after-on all crash the app with that method.
Here's the code for that method: http://pastie.org/1024049">http://pastie.org/1024049 The only change was to add line 92 to close the current modal. Everything else is the same as the app.js submitted.
[WARN] Trying to open a new window from within a Modal Window is unsupported.
Closing ticket as invalid.