t4t5 / sweetalert

A beautiful replacement for JavaScript's "alert"
https://sweetalert.js.org
MIT License
22.4k stars 2.84k forks source link

React 17 event are not supported #950

Open hidayatarg opened 3 years ago

hidayatarg commented 3 years ago

I used it in react 17 and I placed a component as the content but it is not firing events (onClick or etc.). It is completely working in react 16.8 not in react 17.0.1

davidshare commented 3 years ago

I am having the same issue. Events do not work.

hidayatarg commented 3 years ago

I am thinking to contribute to this repository so it support the react 17 events

bipin244 commented 3 years ago

I am having the same issue.Can anyone found solutions for this?

hidayatarg commented 3 years ago

I will push the changes sooner

On 24 Dec 2020 Thu at 13:54 Bipin notifications@github.com wrote:

I am having the same issue.Can anyone found solutions for this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/t4t5/sweetalert/issues/950#issuecomment-750846200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIZGUJ3QJGXPRGICITEJTLSWMMYHANCNFSM4TLZGNWA .

--

Sincerely Hidayat Arghandabi

danielpox commented 3 years ago

Same problem here! Seems like all events are completely ignored!