question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Safari 8 on Yosemite

See original GitHub issue

Hi 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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
leicht-iocommented, Oct 3, 2017

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.

2reactions
leicht-iocommented, Oct 3, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found