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.
2 parents 78617c0 + 6468ce6 commit 404ddadCopy full SHA for 404ddad
src/components/structures/ScrollPanel.tsx
@@ -275,8 +275,8 @@ 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;
279
- return Math.abs(sn.scrollHeight - (sn.scrollTop + sn.clientHeight)) <= 1;
+ // so check difference < 1;
+ return Math.abs(sn.scrollHeight - (sn.scrollTop + sn.clientHeight)) < 1;
280
};
281
282
// returns the vertical height in the given direction that can be removed from
0 commit comments