steven-tey / precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.
https://precedent.dev
MIT License
4.69k stars 409 forks source link

DemoModal renders twice #8

Closed 2ne closed 1 year ago

2ne commented 1 year ago

When you open the demo modal the markup renders twice in the dom. This means that if you use a form within the modal you will have duplicate id's and causes accessibility issues with the form.

steven-tey commented 1 year ago

Okay this should be fixed now! Thanks for the heads-up!