forked from react-bootstrap/react-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fixed] Fit overlay within viewport boundary
- Loading branch information
Jimmy Jia
committed
May 14, 2015
1 parent
cb1cc99
commit 03211db
Showing
7 changed files
with
241 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const positionerInstance = ( | ||
<ButtonToolbar> | ||
<OverlayTrigger | ||
container={mountNode} containerPadding={20} | ||
trigger='click' placement='bottom' | ||
overlay={<Popover title='Popover bottom'><strong>Holy guacamole!</strong> Check this info.</Popover>} | ||
> | ||
<Button bsStyle='default'>Holy guacamole!</Button> | ||
</OverlayTrigger> | ||
</ButtonToolbar> | ||
); | ||
|
||
React.render(positionerInstance, mountNode); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters