InteractiveAlert-Xamarin
InteractiveAlert-Xamarin copied to clipboard
[Bug] iOS ShowAlert Cancel Action runs after Ok Action
After performing Ok Action at iOS, only, runs Cancel Action
- Xamarin.Forms - 4.8(latest)
- Bug Reproduced at iOS (13.6)
- Tested on Platforms iOS (13.6) and Android (10)
var alertConfig = new InteractiveAlertConfig
{
OkButton = new InteractiveActionButton
{
Title = okButtonText,
Action = okButtonAction
},
CancelButton = new InteractiveActionButton
{
Title = cancelButtonText,
Action = cancelButtonAction
},
Title = title,
Message = message,
Style = alertStyle,
IsCancellable = false
};
InteractiveAlerts.Instance.ShowAlert(alertConfig);
Expected Behavior:
- Ok Pressed => Ok Action
- Cancel Pressed => Cancel Action
Actual Behavior:
- Ok Pressed => Ok Action, Cancel Action
- Cancel Pressed => Cancel Action