Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit da06c8a

Browse files
dbkrturt2live
andcommitted
Update comment too
Co-authored-by: Travis Ralston <[email protected]>
1 parent eba815a commit da06c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/ScrollPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export default class ScrollPanel extends React.Component<IProps> {
275275
// fractional values (both too big and too small)
276276
// for scrollTop happen on certain browsers/platforms
277277
// when scrolled all the way down. E.g. Chrome 72 on debian.
278-
// so check difference < 1;
278+
// so check difference <= 1;
279279
return Math.abs(sn.scrollHeight - (sn.scrollTop + sn.clientHeight)) <= 1;
280280
};
281281

0 commit comments

Comments
 (0)