Skip to content

Commit 892401c

Browse files
author
Viktor_the_great
committed
pass whole popperConfig to PopperJS (react-bootstrap#748)
* fixed pass popperConfig option
1 parent a0ecb67 commit 892401c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Overlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Overlay = React.forwardRef((props, outerRef) => {
3333
const { modifiers = {} } = popperConfig;
3434

3535
const { styles, arrowStyles, ...popper } = usePopper(target, rootElement, {
36-
...popperConfig,
36+
popperConfig,
3737
placement: placement || 'bottom',
3838
enableEvents: props.show,
3939
modifiers: {

0 commit comments

Comments
 (0)