I first noticed this about 1-2 weeks ago. Alerts on my iPad all get Cancel buttons appended to them, so in the cases where I was already adding a cancel button, there are now 2 cancel buttons.
Running the same script on my iPhone works as expected.
Bug @simonbs ?
It seems to be a cancelAction
as it’s not visible when presenting as sheet
This should be fixed in version 1.4.12. Can I get you to check that you have the latest version?
1 Like
jsloat
June 12, 2020, 6:38am
4
Yep, 1.4.12. Here’s the simplest code that reproduces the error:
const n = new Alert();
n.addAction("test");
n.title="Alert";
console.log(await n.present());
This is iOS 13.5, iPad Pro 12.9” 2020.
Thanks for the sample code. I’ll make sure to get it fixed ASAP.
1 Like
jsloat
June 12, 2020, 7:46am
6
Thanks! Let me know if I can help
Just wanted to let you know that I’ve submitted a fix for this issue. It should be on the App Store within a day or two.
1 Like
jsloat
June 13, 2020, 8:46am
8
Amazing, thanks for the quick turnaround! I’ll confirm it works when it’s out
jsloat
June 14, 2020, 10:13pm
9
Confirmed fixed, thanks again!