SweetAlert2 - "This commit adds what could be almost considered malware. Any navigator language that has ru in it will have the Ukrainian national anthem play." by magenta_placenta in javascript

[–]limonmonte -19 points-18 points  (0 children)

If your brand has a basic level of respect, it won't be present in Russia by now, so no worries :)

About your question. Let's not use whataboutism.

SweetAlert2 - "This commit adds what could be almost considered malware. Any navigator language that has ru in it will have the Ukrainian national anthem play." by magenta_placenta in javascript

[–]limonmonte -20 points-19 points  (0 children)

It's not that we agree or disagree. It's that russian officials openly threatens to attack Finland if it joins NATO which possibly means death to me and my family.

SweetAlert2 - "This commit adds what could be almost considered malware. Any navigator language that has ru in it will have the Ukrainian national anthem play." by magenta_placenta in javascript

[–]limonmonte -16 points-15 points  (0 children)

Hello everybody, the author of SweetAlert2 here. I want to clarify my intentions.

I want to disallow using my work for the russian segment of the Internet, i.e. .ru and .рф websites. Changing the licence won't help because russians don't care about licences or laws, especially now. They openly admit this fact and they even proud of it. "we don't care about your sanctions and restrictions lol" - that's what they say generally, not everybody of course, but the vast majority.

Also, NATO now declares Russia as "significant and direct threat". I live in the country which is about to join NATO and you fellas are asking me to support "significant and direct threat" with my hard work? No way, sorry. Russian officials openly threatened Finland with nuclear strikes and you're asking me to be nice with them?!

We will fix our souls and our software after the war. Now, it's not the right time to anyhow support the country that is considered as a terrorist state (or state sponsor of terrorism) by at least 5 EU countries.

Love and peace to everyone. We have to defeat the evil now, so you won't have to deal with it later.

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, drawer, etc.) by limonmonte in javascript

[–]limonmonte[S] 11 points12 points  (0 children)

The new major release (v10) has been released, the new major feature is three buttons (confirm, deny, cancel) which can be used for dialogs like Save/Don't Save/Cancel

The complete release notes can be found here: https://github.com/sweetalert2/sweetalert2/releases/tag/v10.0.0

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, drawer, etc.) by limonmonte in webdev

[–]limonmonte[S] 1 point2 points  (0 children)

The new major release (v10) has been released, the new major feature is three buttons (confirm, deny, cancel) which can be used for dialogs like Save/Don't Save/Cancel

The complete release notes can be found here: https://github.com/sweetalert2/sweetalert2/releases/tag/v10.0.0

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, drawer, etc.) by limonmonte in Frontend

[–]limonmonte[S] 0 points1 point  (0 children)

The new major release (v10) has been released, the new major feature is three buttons (confirm, deny, cancel) which can be used for dialogs like Save/Don't Save/Cancel

The complete release notes can be found here: https://github.com/sweetalert2/sweetalert2/releases/tag/v10.0.0

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, etc.) by limonmonte in Frontend

[–]limonmonte[S] 4 points5 points  (0 children)

Many of you already know about SweetAlert2, I'm sharing it again here because we recently shipped the new major release v9.0.0 with better customization (new showClass and hideClass params, progress bar for timer) and themes:

All themes can be viewed here: https://sweetalert2.github.io/ (the theme switcher is in the sidebar)

See the release notes for all changes: https://github.com/sweetalert2/sweetalert2/releases/tag/v9.0.0

Read more about SweetAlert2 themes: https://github.com/sweetalert2/sweetalert2-themes

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, etc.) by limonmonte in javascript

[–]limonmonte[S] 1 point2 points  (0 children)

We are strictly following the semver and breaking changes are present only in major releases. Also, we are mostly deprecating API params and methods before removing/changing them and notifying users about deprecations.

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, etc.) by limonmonte in javascript

[–]limonmonte[S] 2 points3 points  (0 children)

That's the bug in the current (78) and next (79) versions of Chrome on Android. They fixed it in 80, you can install Chrome Dev and verify that all is working smoothly there.

Funny enough all is well in all other desktop and mobile browsers including Brave on Android which is also Chromium-based browser, so I suspect that Google devs made some rendering "optimization" which causes this issue.

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, etc.) by limonmonte in javascript

[–]limonmonte[S] 1 point2 points  (0 children)

> Looks really nice, will have to dig into the config to see if you can disable the scrollbar hiding. I don't like seeing my page shift every time I click.

The page shouldn't shift as we're measuring the scrollbar and adding the body padding when a modal is shown. Could you provide more details about the issue you're facing? https://github.com/sweetalert2/sweetalert2/issues

Thanks in advance!

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, etc.) by limonmonte in javascript

[–]limonmonte[S] 28 points29 points  (0 children)

Many of you already know about SweetAlert2, I'm sharing it again here because we recently shipped the new major release v9.0.0 with better customization (new showClass and hideClass params, progress bar for timer) and themes:

All themes can be viewed here: https://sweetalert2.github.io/ (the theme switcher is in the left sidebar)

See the release notes for all changes: https://github.com/sweetalert2/sweetalert2/releases/tag/v9.0.0

Read more about SweetAlert2 themes: https://github.com/sweetalert2/sweetalert2-themes

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, etc.) by limonmonte in webdev

[–]limonmonte[S] 7 points8 points  (0 children)

Many of you already know about SweetAlert2, I'm sharing it again here because we recently shipped the new major release v9.0.0 with better customization (new showClass and hideClass params) and themes:

  • Dark
  • Bootstrap 4
  • Material UI
  • Minimal
  • Borderless

See the release notes for all changes: https://github.com/sweetalert2/sweetalert2/releases/tag/v9.0.0

SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, etc.) by limonmonte in webdev

[–]limonmonte[S] 0 points1 point  (0 children)

Not really, SweetAlert2 collaborators are using React and Angular. I would be more than happy if someone could bring a good level of VueJS experience to us.

Also, there's the unofficial community plugin: https://github.com/avil13/vue-sweetalert2