Closed adobs closed 2 years ago
Issue: parent clipping content of popover.
Example: have a SingleDatePicker in a sidebar on my app. The sidebar (parent) for the SingleDatePicker is clipping the content.
SingleDatePicker
Fix addressed in this PR: make use of Chakra UI's Portal A Portal component will "prevent parent styles from clipping or hiding content (for popovers...)".
Portal
I've added the Portal in an optional and conditional manner, so code is still backwards-compatible.
@adobs good catch. Thx for the PR
version 0.1.6 is published
Issue: parent clipping content of popover.
Example: have a
SingleDatePicker
in a sidebar on my app. The sidebar (parent) for theSingleDatePicker
is clipping the content.Fix addressed in this PR: make use of Chakra UI's
Portal
APortal
component will "prevent parent styles from clipping or hiding content (for popovers...)".I've added the
Portal
in an optional and conditional manner, so code is still backwards-compatible.