mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(app): keep the chat scroller pinned to the end while it resizes (#1860)
This commit is contained in:
1 parent
a2099fb0e2
commit
2af0405317
36 files changed
+171
-191
No files matched your search
@@ -48,7 +48,7 @@ class AutoAck {
|
||||
if (!channelId) {
|
||||
return {windowId, channelId: null, isAtBottom: false, canAutoAck: false};
|
||||
}
|
||||
const isAtBottom = Dimension.isAtBottom(channelId) ?? false;
|
||||
const isAtBottom = Dimension.channelPinnedToEnd(channelId) ?? false;
|
||||
const readState = ReadStates.getIfExists(channelId);
|
||||
const ackedManually = readState?.ackedManually ?? false;
|
||||
const channel = Channels.getChannel(channelId);
|
||||
|
||||
Reference in new issue
Block a user