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

@@ -32,10 +32,7 @@ export const MessagesApp = () => {
</div>
</Route>
<Route exact path="/messages">
<>
<MessagesList />
<NewMessageGroupButton onClick={() => history.push('/messages/new')} />
</>
<MessagesList />
</Route>
</Switch>
<Switch>
@@ -44,6 +41,9 @@ export const MessagesApp = () => {
</Route>
</Switch>
</AppContent>
<Route exact path="/messages">
<NewMessageGroupButton onClick={() => history.push('/messages/new')} />
</Route>
</AppWrapper>
</MessagesThemeProvider>
);