Adrien Denat coyotte508 HF staff commited on
Commit
690cd19
1 Parent(s): fe5e801

Improve modal a11y (#177)

Browse files

* add Portal component so we can render modals at root for focus trap

* make modals closeable with ESC + click outside + focus trap

* remove unecessary check on inert prop

Co-authored-by: Eliott C. <coyotte508@gmail.com>

---------

Co-authored-by: Eliott C. <coyotte508@gmail.com>

Files changed (0) hide show