switcher for editability

This commit is contained in:
zadam
2021-06-26 17:08:50 +02:00
parent 962d5a5674
commit 32c88219c3
5 changed files with 97 additions and 9 deletions

View File

@@ -35,7 +35,10 @@ export default class ScrollingContainer extends Container {
const promise = super.handleEventInChildren(name, data);
// there seems to be some asynchronicity and we need to wait a bit before scrolling
promise.then(() => setTimeout(() => this.$widget.scrollTop(scrollTop), 500));
return promise;
}
else {
return super.handleEventInChildren(name, data);