[ 
https://issues.apache.org/jira/browse/CB-12553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904374#comment-15904374
 ] 

Chris Brody commented on CB-12553:
----------------------------------

I also raised 
https://github.com/EddyVerbruggen/cordova-plugin-actionsheet/issues/55 with an 
idea to fix this on cordova-plugin-actionsheet.

I fixed https://github.com/brodybits/cordova-windows-popup-test-app to add a 
test of confirm with 4 choice buttons, working on iOS only, and remove some 
extra test buttons.

I am now looking for feedback here and in 
https://github.com/EddyVerbruggen/cordova-plugin-actionsheet/issues/55 whether 
we should fix this issue here, in cordova-plugin-actionsheet, or in a brand new 
plugin.

> cordova-plugin-dialogs support more confirm choices on Windows
> --------------------------------------------------------------
>
>                 Key: CB-12553
>                 URL: https://issues.apache.org/jira/browse/CB-12553
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Dialogs
>            Reporter: Chris Brody
>
> In cordova-plugin-dialogs the confirm dialog has a quirk where it cannot 
> display more than 2 buttons on Windows mobile or more than 3 buttons on 
> Windows desktop. This can be solved by using `Windows.UI.Popups.PopupMenu` 
> instead of `Windows.UI.Popups.MessageDialog` as documented in 
> <https://docs.microsoft.com/en-us/uwp/api/windows.ui.popups.popupmenu>.
> An alternative idea to support yes-no-cancel choices on Windows desktop and 
> mobile is described in: 
> https://maximelabelle.wordpress.com/2016/03/02/displaying-a-yes-no-cancel-message-dialog-in-a-universal-windows-platform-uwp-app/



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to