forked from M-Labs/web2019
Fix notification overlay making "added" notification disappear on touchables
When notification doesn't fit viewport on touch-enabled devices, it makes the canvas extend to its boundaries, braking the fixed positioned elements placement Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
6bfed3e779
commit
d3fb46956e
|
@ -11,6 +11,9 @@ export function Notification({id, tip, content, sideMenuIsOpen, show, onHide}) {
|
||||||
overlay={props => <Tooltip id={id} {...props}>{tip}</Tooltip>}
|
overlay={props => <Tooltip id={id} {...props}>{tip}</Tooltip>}
|
||||||
rootClose={!sideMenuIsOpen}
|
rootClose={!sideMenuIsOpen}
|
||||||
onToggle={onHide}
|
onToggle={onHide}
|
||||||
|
popperConfig={{
|
||||||
|
strategy: 'fixed'
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{content}
|
{content}
|
||||||
</OverlayTrigger>
|
</OverlayTrigger>
|
||||||
|
|
Loading…
Reference in New Issue