-
Notifications
You must be signed in to change notification settings - Fork 584
FAQ
Imogen Wentworth edited this page Apr 16, 2017
·
19 revisions
Yes, but it's not recommended for animations other than Slide due to how other page elements are designed to move with the transition.
You can access it through the bmMenuWrap
key of the styles
prop:
var styles = {
bmMenuWrap: {
transition: ''
}
}
<Menu styles={ styles } />
Unlike the rest of your content, fixed elements need to be placed outside your page-wrap
element, so your layout structure will look something like this:
<div id="outer-container">
<header>I am a fixed header!</header>
<Menu pageWrapId={ "page-wrap" } outerContainerId={ "outer-container" } />
<main id="page-wrap">
.
.
.
</main>
</div>
A common use for this is a fixed header, but the same applies to any elements you want to remain fixed and positioned relative to the viewport.