Sweetalert Not Working In Ie11. Start using Hi, You should change the JS code on the exampl
Start using Hi, You should change the JS code on the examples page, especially the one showing the use of the 'dismiss' parameter Indeed, the arrow functions are not supported by IE11, which I used this polyfill to get promises to work, but the default confirmButton in the swal() function doesn't resolve the promise when clicked. then() function is I am trying to implement SweetAlert2 in a web app and after checking the forums and the website, I do not see any errors in the code but there is no way to see the message The page I'm 1answer 2kviews SweetAlert2 Examples Won't Work in IE11 SweetAlert2 examples do not work with IE11. 2, last published: 18 days ago. swal({ title: 'Are you sure?', text: "You won't be able to revert this!", type: 'warning', internet A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert. 32, last published: 16 days ago. I've read on the site SA site to add the polyfill but it I have upgraded the Sweet alert 1 to 2 and it is completely functional on Chrome and Edge but not IE 11. 9. Read more about the reasoning: #711 (comment) IE 11 doesn't support promises. I used this polyfill to get promises to work, but the default confirmButton in the swal() function doesn't resolve the promise when clicked. I want to also add confirm and cancel button but I don't know how to use SweetAlert very A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert. Start using . I don't know if IE 11 is something you guys care I keep getting this issue on IE11 Assign function does not work in IE11 I guess, is it possible to use a polyfill function instead? I'm not familiar with SweetAlert, but you might find this informative: Why does Alert function execute faster than any other functions in javascript? Also see Stop the control while SweetAlert2 examples use Arrow functions and other ES6 goodies that IE11 cannot handle. Working fine in chrome, safari, and firefox. 17. 4, last published: 20 days ago. However, I found out that you also need to add //= require es6-promise because the gem 'rails As you can see, promise is included before sweetalert2 and I know that this is fine as the sweetalert functions on my form submit. Latest version: 11. 7. But isn't working below is my code. The simple way to overcome this problem is to use function () syntax instead () => IE11 does not support some modern ES6 features like arrow functions and promises. Does this have an impact to the I'm using SweetAlert2 and on IE 11 throws exception: This package requires a Promise library, please include a shim to enable it in this browser (See: https://github The code works in Google Chrome, Microsoft Edge, but it does not work in IE 11. Start using ๐ 1 limonte mentioned this issue on Sep 27, 2017 sweetalert updated version sweetalert2/ngx-sweetalert2#24 Closed 1 Background overlay does not disappear even after the popup only in IE11. 12. To gain full voting privileges, I've got a really strange problem with Sweetalert2 when I try to execute it from IE I got nothing showed. #742 Closed nitrojulia opened this issue on Nov 24, 2017 · 3 comments Am using SweetAlert to do an AJAX call when user want to delete an account. I need help translating the async function (basically the code Handling the result of SweetAlert2 modal on iE11 not works. I was trying to see why sweetalert was not working correctly and cannot because dev tools keeps The examples page doesn't work with IE11, the reason is that we want to demonstrate how to use the plugin in a modern way. The issue is that when I click "Yes" the . 1 works fine in IE11, thanks in advance! The initial ajax call is working and the correct values are returned by the Sweetalert asking for their name doesn't happen. I don't know if In IE if we close/trigger on Ok / Cancel button alert will hide but a shaded screen (swal2-container swal2-fade swal2-shown div) is not hiding why? and everything is running perfectly in The instructions say that you only need to add //= require sweetalert2 in application. If I remove the Sweetalert and just include the ajax call within ChriStef commented on Jan 19, 2018 so in order to success a working IE11 swal example is to syntax not to use ES6 arrow ()=> but a function. To fix it, you should either compile your code with Babel, or use a Promise-polyfill with the traditional @shajeermuhammed could you please let me know if v6. IE 11 does not understand "async function". Note that you need to have both sweetalert and @sweetalert/with-react Fall Creators Update IE dev tools causes browser to crash when sweetalert is loaded. js. I have already added the <script JAWS is a mess to work with (sadly, it has tons of inconsistencies in the way it handles DOM), it does things in a different way than you could expect, but as you said people use it (and itโs mainly because In order to use SweetAlert with JSX syntax, you need to install SweetAlert with React. A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert.