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 eba815a commit da06c8aCopy full SHA for da06c8a
src/components/structures/ScrollPanel.tsx
@@ -275,7 +275,7 @@ export default class ScrollPanel extends React.Component<IProps> {
275
// fractional values (both too big and too small)
276
// for scrollTop happen on certain browsers/platforms
277
// when scrolled all the way down. E.g. Chrome 72 on debian.
278
- // so check difference < 1;
+ // so check difference <= 1;
279
return Math.abs(sn.scrollHeight - (sn.scrollTop + sn.clientHeight)) <= 1;
280
};
281
0 commit comments