chore(overlays): fix demo by adding boundariesElement to popup config
This commit is contained in:
parent
e775554a07
commit
1ddd7cb93a
5 changed files with 810 additions and 790 deletions
|
|
@ -83,6 +83,7 @@ storiesOf('Local Overlay System|Local Overlay Placement', module)
|
|||
},
|
||||
preventOverflow: {
|
||||
enabled: false /* disables shifting/sliding behavior on secondary axis */,
|
||||
boundariesElement: 'viewport',
|
||||
padding: 32 /* when enabled, this is the viewport-margin for shifting/sliding */,
|
||||
},
|
||||
flip: {
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ storiesOf('Local Overlay System|Popup', module)
|
|||
},
|
||||
preventOverflow: {
|
||||
enabled: true /* disables shifting/sliding behavior on secondary axis */,
|
||||
boundariesElement: 'viewport',
|
||||
padding: 16 /* when enabled, this is the viewport-margin for shifting/sliding */,
|
||||
},
|
||||
flip: {
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ storiesOf('Local Overlay System|Tooltip', module)
|
|||
},
|
||||
preventOverflow: {
|
||||
enabled: false /* disables shifting/sliding behavior on secondary axis */,
|
||||
boundariesElement: 'viewport',
|
||||
padding: 16 /* when enabled, this is the viewport-margin for shifting/sliding */,
|
||||
},
|
||||
flip: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue