Skip to content

Commit

Permalink
Merge 66994fe into 9edc5af
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Feb 24, 2017
2 parents 9edc5af + 66994fe commit 84ae27b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Trigger.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ const Trigger = React.createClass({
// Make sure default popup container will never cause scrollbar appearing
// https://github.com/react-component/trigger/issues/41
popupContainer.style.position = 'absolute';
popupContainer.style.top = '-9999px';
popupContainer.style.left = '-9999px';
popupContainer.style.top = '100%';
popupContainer.style.left = '100%';
const mountNode = instance.props.getPopupContainer ?
instance.props.getPopupContainer(findDOMNode(instance)) : document.body;
mountNode.appendChild(popupContainer);
Expand Down

0 comments on commit 84ae27b

Please sign in to comment.