Closed cpilande closed 11 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
bay-view | ✅ Ready (Inspect) | Visit Preview | Nov 27, 2023 0:42am |
Modals should implement a ReactPortal to properly expose outside of the parent DOM
Headless UI library says it implements it for us: “Because of these accessibility concerns, Headless UI's Dialog component actually uses a Portal under-the-hood. This way we can provide features like unobstructed event handling and making the rest of your application inert. So, when using our Dialog, there's no need to use a Portal yourself! We've already taken care of it.” https://headlessui.com/react/dialog#
Modals should implement a ReactPortal to properly expose outside of the parent DOM https://react.dev/reference/react-dom/createPortal
Headless UI library says it implements it for us: “Because of these accessibility concerns, Headless UI's Dialog component actually uses a Portal under-the-hood. This way we can provide features like unobstructed event handling and making the rest of your application inert. So, when using our Dialog, there's no need to use a Portal yourself! We've already taken care of it.” https://headlessui.com/react/dialog#
Description
This PR implements the itinerary title dialog that opens when the location button is clicked on the Itinerary Title Card in order to select which park the user will go to.
Motivation and Context
This PR is necessary to further broaden the functionality of the Itinerary Title Card.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: