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

@ -50,6 +50,7 @@ $roomListCollapsedWidth: 68px;
contain: content; contain: content;
position: relative; position: relative;
flex-grow: 1; flex-grow: 1;
overflow: hidden;
// Note: The 'room list' in this context is actually everything that isn't the tag // Note: The 'room list' in this context is actually everything that isn't the tag
// panel, such as the menu options, breadcrumbs, filtering, etc // panel, such as the menu options, breadcrumbs, filtering, etc

View file

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