From 248c3f565eb7f6bb3084607c3c4b2667d6f79bdc Mon Sep 17 00:00:00 2001 From: Vyacheslav Khanilo Date: Tue, 12 May 2020 20:14:43 +0300 Subject: [PATCH] feat(PopoverContent): add x-out-of-boundaries attribute Closes #1835 --- src/PopperContent.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PopperContent.js b/src/PopperContent.js index 71d3deed6..ca0ffecf0 100644 --- a/src/PopperContent.js +++ b/src/PopperContent.js @@ -43,7 +43,7 @@ const defaultProps = { onClosed: noop, fade: true, transition: { - ...Fade.defaultProps, + ...Fade.defaultProps, } }; @@ -151,8 +151,8 @@ class PopperContent extends React.Component { modifiers={extendedModifiers} placement={placement} > - {({ ref, style, placement, arrowProps }) => ( -
+ {({ ref, style, placement, outOfBoundaries, arrowProps }) => ( +
{children} {!hideArrow && }