chinchang / web-maker

A blazing fast & offline frontend playground
https://webmaker.app
MIT License
2.55k stars 314 forks source link

v5: Type Error on opening Modals #507

Closed arnabsen1729 closed 2 years ago

arnabsen1729 commented 2 years ago

v5: Type Error on opening Modals

Branch: v5

Opening a modal by clicking on "Add Library" / "New" / "Login/SignUp" in the header, pops an error:

image

Uncaught TypeError: Cannot read properties of undefined (reading 'overlayEl')
    at eval (Modal.jsx?515f:49:1)

Steps to reproduce:

  1. Start the dev server using npm run start.
  2. Visit localhost:8080.
  3. Open the console and click on any of the buttons mentioned above that opens the modal.