mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 15:55:00 +03:00
chat-js: fix scrollback for small chat channels
This commit is contained in:
parent
7b98e6a838
commit
72fbe18aff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -97,7 +97,7 @@ export class ChatScreen extends Component {
|
||||
}
|
||||
|
||||
if (
|
||||
state.numPages * 100 > props.length - 400 ||
|
||||
state.numPages * 100 >= props.length ||
|
||||
this.hasAskedForMessages ||
|
||||
props.length <= 0
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user