Feat / Reusable SearchField + Fixed Messages align bottom flex with scroll (first message starts at bottom) (#151)

* feat(phone/ui): Make SearchField a reusable component

* Fixed conversation scrolling and align bottom

* feat(phone/ui): Autoscroll fix

* feat(phone/ui): Autoscroll fix remove unused deps

* feat(phone/ui): Autoscroll add needed dep for new messages
This commit is contained in:
J Francisco Rader authored and GitHub committed 2021-03-06 16:53:48 -05:00
1 parent 1659fa1654
commit e56ae415dc
13 files changed
+162 -196

No files matched your search

@@ -12,7 +12,7 @@ interface IProps {
}
const useStyles = makeStyles({
root: { position: 'absolute', bottom: 0, width: '100%' },
root: { width: '100%' },
});
const MessageInput = ({ messageGroupId, onAddImageClick }: IProps) => {
@@ -6,7 +6,7 @@ import { Fab } from '@material-ui/core';
const useStyles = makeStyles((theme) => ({
root: {
position: 'absolute',
bottom: theme.spacing(2),
bottom: theme.spacing(5),
right: theme.spacing(3),
},
}));