[TIMOB-18489] OptionDialogs have no way to specify the context window
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Critical |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | TCSupportTriage, ios, ipad, optiondialog |
| Reporter | Pier Paolo Ramon |
| Assignee | Unknown |
| Created | 2015-01-29T11:19:14.000+0000 |
| Updated | 2018-02-28T19:54:59.000+0000 |
Description
Related to TC-5260. In that issue you can see how an OptionDialog, not attached to a view (and therefore not in _popover-mode_) will open as a modal view inside a window.
In TC-5260 that window was (incorrectly) the Popover’s main window.
However, once TC-5260 is resolved we will not be able to do that on purpose, that is creating a modal OptionDialog inside a specific window.
I propose the addition of a
targetWindow property to the showParams for the dialog.show({}) method, so we can explicitly tell where we want the dialog to attach.
Keep this ticket open as it may related to TIMOB-18477