We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44d28cd commit 0c1efecCopy full SHA for 0c1efec
plugins/chat/assets/javascripts/discourse/components/chat-channel.js
@@ -1000,7 +1000,7 @@ export default class ChatLivePane extends Component {
1000
#isBottomOfMessageVisible(element, container) {
1001
const rect = element.getBoundingClientRect();
1002
const containerRect = container.getBoundingClientRect();
1003
- // - 1.0 to account for rounding errors, especially on firefox
1004
- return rect.bottom - 1.0 <= containerRect.bottom;
+ // - 5.0 to account for rounding errors, especially on firefox
+ return rect.bottom - 5.0 <= containerRect.bottom;
1005
}
1006
0 commit comments