Merge pull request #6669 from matrix-org/palid/fix/difficult-to-grab-scrollbar

Fix remaining scrollbar/background blur regressions
This commit is contained in:
Dariusz Niemczyk 2021-08-24 16:30:20 +02:00 committed by GitHub
commit eb50d64146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -78,7 +78,7 @@ export default class Resizer<C extends IConfig = IConfig> {
}
public attach() {
const attachment = this?.config?.handler.parentElement ?? this.container;
const attachment = this?.config?.handler?.parentElement ?? this.container;
attachment.addEventListener("mousedown", this.onMouseDown, false);
window.addEventListener("resize", this.onResize);
}