[
https://issues.apache.org/jira/browse/CB-4966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923879#comment-13923879
]
Piotr Zalewa commented on CB-4966:
----------------------------------
The idea behind is purity.
Displaying the dialog by covering the DOM with a specific layer might implement
few issues. CSS might be corrupted by some declarations inside index.css, it
might happen that DOM elements might get duplicated. Adding notification.css to
entire DOM is a little too broad.
Having it in separate window brings ability to go out of the dialog without
making a choice (Certainly this could be implemented to current version). No
need to add css file to your app HTML. Adding it for FirefoxOS sake only will
require removing it from all HTML files when building for other platforms.
Well there is an issue about blocking dialogs. Imagine using notification.alert
will stop your app from contacting the server.
Current implementation of the plugin is not blocking, but has above issues.
> dialog
> ------
>
> Key: CB-4966
> URL: https://issues.apache.org/jira/browse/CB-4966
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: Plugin Dialogs
> Environment: firefoxos
> Reporter: Piotr Zalewa
>
> I started developing it - only the CSS is left - no idea how to conect it to
> main CSS (is it needed?)
> https://github.com/zalun/cordova-plugin-dialogs
--
This message was sent by Atlassian JIRA
(v6.2#6252)