pull/21833/head
Richard van der Hoff 2021-09-29 11:20:51 +01:00
parent b285315cb8
commit c99216814f
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ export default class ScrollPanel extends React.Component<IProps> {
// non-standard DPI settings also seem to have effect here and can
// actually lead to scrollTop+clientHeight being *larger* than
// scrollHeight. (observed in element-desktop on Ubuntu 20.04)
//
//
return sn.scrollHeight - (sn.scrollTop + sn.clientHeight) <= 1;
};