Skip to content

Commit

Permalink
pass whole popperConfig to PopperJS (react-bootstrap#748)
Browse files Browse the repository at this point in the history
* fixed pass popperConfig option
  • Loading branch information
Viktor_the_great committed Dec 10, 2019
1 parent a0ecb67 commit 892401c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Overlay = React.forwardRef((props, outerRef) => {
const { modifiers = {} } = popperConfig;

const { styles, arrowStyles, ...popper } = usePopper(target, rootElement, {
...popperConfig,
popperConfig,
placement: placement || 'bottom',
enableEvents: props.show,
modifiers: {
Expand Down

0 comments on commit 892401c

Please sign in to comment.