Why do we need to wrap the Calendar with Popover and Dialog components? #4692
Closed
ArtemFedorchuk
started this conversation in
General
Replies: 1 comment 1 reply
-
The Popover makes it so the contents are rendered in a overlay above other components in your app. It comes with focus restoration to the trigger when the Popover is closed, various accessibility benefits like hiding elements outside the Popover from screen readers, and handles placement of the contents relative to the trigger you specify. The Dialog then is the container around the Calendar and enables focus containment within the Popover. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is somebody has an idea why do we need to wrap the Calendar with Popover and Dialog components?
What is the idea and what does this solve?
Beta Was this translation helpful? Give feedback.
All reactions