Minor Changes
-
14be4be2c
#3210 Thanks
@segunadebayo! - Add support for forwarding
props to the underlyingPortal
component. Pass theportalProps
prop to
achive this.The 2 props you can pass to the portalProps are:
containerRef
:ref
for the element where to mount the portalappendToParentPortal
: Iffalse
, it'll opt out of portal nesting
<Modal portalProps={{ containerRef: ref }}> <ModalOverlay /> <ModalContent> <Box>Modal content</Box> <Tooltip portalProps={{ appendToParentPortal: false }}> Some tooltip </Tooltip> </ModalContent> </Modal>
-
90c7a4fbf
#3092 Thanks
@TimKolberger! - - Improved theme typing in
order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like