Safari 8 on Yosemite
See original GitHub issueHi there!
I am using this plugin and testing up against Safari 8 on Yosemite.
Unfortunately the dialog does not close when clicking the close icon.
I am not using any polyfills. Is it necessary for Safari 8?
My code look as follows:
swal({
title: '<b>TITLE</b>',
html: Templates.variantTemplate(variants),
showCloseButton: true,
showCancelButton: false,
confirmButtonText: "TEXT",
}).then(function () {
console.log(1);
});
The weird thing is that the console.log(1) prints as expected, the dialog does just not close. Thank you.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Update to the latest version of Safari - Apple Support
If a Safari update is available for your device, you can get it by updating or upgrading macOS, iOS, or iPadOS.
Read more >Safari 8 on Mac OS X (Yosemite) - User Agents
A Safari web-browser user agent, version 8. It's running on a computer. The computer is running Mac OS X (Yosemite).
Read more >Safari 8 browser on Yosemite shows major speed boost - CNET
Safari 8 browser on Yosemite shows major speed boost. On the latest Mac OS, Apple's browser vaults past Firefox and Chrome on some...
Read more >Clearing cache for Safari 8 (OS X Yosemite)
Clearing your Safari's cache and website data is now easier on Safari 8 (default browser for Mac OS X 10.10 Yosemite).
Read more >OS X Yosemite first look: Safari 8 Smart Search, advanced tab ...
Safari remains largely the same in OS X Yosemite, but Apple has added a ... OS X Yosemite first look: Safari 8 Smart...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So @limonte, i tried something else.
When using the script, sweetalert2.all.min.js as standalone it doesn’t work in Safari 8 on Yosemite. By adding a link to the stylesheet, sweetalert2.css, it works.
Maybe this information is useful.
I made two codepens, one which works in Safari 8 on Yosemite and one which doesn’t. I don’t know if this is useful but maybe you can help me narrow down the differences and i can continue testing.
The one that works: https://codepen.io/ChristianLJ/pen/gGGooL
The one that doesn’t: https://codepen.io/ChristianLJ/pen/YrrYvw