Minor Changes
-
e41e6b81b
#3210 Thanks
@segunadebayo! - - Add support for changing
the container that portal is appended to. You can now passcontainerRef
to
portal.- Update portal
README.md
and tests. - Add support for
appendToParentPortal={false}
to opt out of nested portals. - Fix issue with portal
zIndex
container where it renders elements outside
of view. - Renamed
getContainer
prop tocontainerRef
to make it possible to pass
theref
directly. This affects theModal
component primarily
// Before <Portal getContainer={() => ref.current}>{/** Content */}</Portal> // After <Portal containerRef={ref}>{/** Content */}</Portal>
- Update portal
Patch Changes
- Updated dependencies
[b572bceed
]:- @chakra-ui/hooks@1.1.3