Disable auto-scroll after context menu interaction, fixes #139

This commit is contained in:
Sebastian Wolf 2021-02-14 11:51:26 +01:00
parent 4435828ff7
commit 352789f79d
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -72,6 +72,12 @@ ListItem {
contextMenuLoader.active = true; contextMenuLoader.active = true;
} }
} }
onMenuOpenChanged: {
// When opening/closing the context menu, we no longer scroll automatically
chatView.manuallyScrolledToBottom = false;
}
Loader { Loader {
id: contextMenuLoader id: contextMenuLoader
active: false active: false