Update src/components/scrollManager.js

Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
This commit is contained in:
Dmitry Lyzo 2019-11-27 13:31:18 +03:00 committed by GitHub
parent a37e0fb47a
commit 1d045d172b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ define(["dom", "browser", "layoutManager"], function (dom, browser, layoutManage
while (parent) {
if ((!vertical && parent.scrollWidth > parent.clientWidth && parent.classList.contains("scrollX")) ||
(vertical && parent.scrollHeight > parent.clientHeight) && parent.classList.contains("scrollY")) {
(vertical && parent.scrollHeight > parent.clientHeight && parent.classList.contains("scrollY"))) {
return parent;
}