Thank you very much for the easy to use component. The following isn't an important bug to me, but just letting you know as an FYI because I ran into it while testing.
Describe the bug
Using next.js, if you have the modal open at page load you will get the following error:
Server Error
Error: Target container is not a DOM element.
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Bug report
Thank you very much for the easy to use component. The following isn't an important bug to me, but just letting you know as an FYI because I ran into it while testing.
Describe the bug
Using next.js, if you have the modal open at page load you will get the following error:
To Reproduce
Create a next.js project, use the following hook:
And use that state within your modal
Expected behavior
Page loads, with modal open.
System information