Skip to content
Snippets Groups Projects
Commit b9c36bb1 authored by Lucas Eduardo Schoenfelder's avatar Lucas Eduardo Schoenfelder
Browse files

fixed menu placement

parent f18b4335
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!32Homologa
...@@ -85,11 +85,11 @@ function Dropdown(props) { ...@@ -85,11 +85,11 @@ function Dropdown(props) {
<ExpandMoreIcon/> <ExpandMoreIcon/>
</Button> </Button>
{ open && { open &&
<Popper open={open} keepMounted transition disablePortal> <Popper open={open} keepMounted transition disablePortal placement={'bottom'}>
{({ TransitionProps, placement }) => ( {({ TransitionProps, placement }) => (
<Grow <Grow
{...TransitionProps} {...TransitionProps}
style={{ transformOrigin: placement === 'bottom' ? 'center top' : 'center bottom' }} style={{ transformOrigin: 'center top !important', anchorOrigin : "center bottom !important"}}
> >
<Paper id="menu-list-grow"> <Paper id="menu-list-grow">
<MenuList> <MenuList>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment