[SSE] Fix Bug 55629

This commit is contained in:
ShimaginAndrey 2022-02-24 17:10:26 +03:00
parent 876ac7670d
commit e3459aa8f0

View file

@ -14,6 +14,7 @@ const PageListMove = props => {
const allSheets = sheets.sheets; const allSheets = sheets.sheets;
return ( return (
<View style={!Device.phone ? {height: '420px'} : null}>
<Page> <Page>
<Navbar title={t('Statusbar.textMoveBefore')}/> <Navbar title={t('Statusbar.textMoveBefore')}/>
<List> <List>
@ -31,6 +32,7 @@ const PageListMove = props => {
</ListGroup> </ListGroup>
</List> </List>
</Page> </Page>
</View>
) )
}; };
@ -40,6 +42,7 @@ const PageAllList = (props) => {
const allSheets = sheets.sheets; const allSheets = sheets.sheets;
return ( return (
<View style={{height: '240px'}}>
<Page> <Page>
<List> <List>
{ allSheets.map( (model,sheetIndex) => { allSheets.map( (model,sheetIndex) =>
@ -53,6 +56,7 @@ const PageAllList = (props) => {
} }
</List> </List>
</Page> </Page>
</View>
) )
}; };
@ -138,7 +142,7 @@ const StatusbarView = inject('storeAppOptions', 'sheets', 'users')(observer(prop
</Actions> </Actions>
) : null} ) : null}
{ {
<Popover style={{height: '240px'}} id="idx-all-list" className="all-list"> <Popover id="idx-all-list" className="all-list">
<PageAllList sheets={sheets} onTabListClick={props.onTabListClick}/> <PageAllList sheets={sheets} onTabListClick={props.onTabListClick}/>
</Popover> </Popover>
} }
@ -150,7 +154,7 @@ const StatusbarView = inject('storeAppOptions', 'sheets', 'users')(observer(prop
<PageListMove sheets={sheets} onMenuMoveClick={props.onMenuMoveClick}/> <PageListMove sheets={sheets} onMenuMoveClick={props.onMenuMoveClick}/>
</Sheet> </Sheet>
: :
<Popover style={{height: '420px'}} id="idx-move-sheet-popover" closeByOutsideClick={false}> <Popover id="idx-move-sheet-popover" closeByOutsideClick={false}>
<PageListMove sheets={sheets} onMenuMoveClick={props.onMenuMoveClick}/> <PageListMove sheets={sheets} onMenuMoveClick={props.onMenuMoveClick}/>
</Popover> </Popover>
} }