Only React version 17.0.2 can work the app as intended. If upgraded to 18, it requires "click" event added on the entire document (inside useEffect of Model.jsx) to be "mousedown" to work.
adhikarisandil32 / demo-modal Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://demo-modal-deploy.netlify.app/