♻️(react) migrate Modals to react modal

We encoutered an issue where stacked modal backdrop were not rendered
above the modal below. It was caused by the dialog element that is
natively rendered on the top layer regardless where it is create in
the DOM. So we decided to use react modal that provides hand crafted
dialog, and implementing a11y features.

Closes #314
This commit is contained in:
Nathan Vasse
2024-04-04 15:01:29 +02:00
committed by NathanVss
parent c61b2ac43d
commit 6ebeb116d3
8 changed files with 128 additions and 115 deletions

View File

@@ -0,0 +1,5 @@
---
"@openfun/cunningham-react": minor
---
migrate Modals to react modal