fix(rendering and logging): remove extensive console chattiness, remove content memory leak when rerendering

This commit is contained in:
2024-12-07 15:38:17 +01:00
parent dbca81987c
commit db9b53462d
7 changed files with 29 additions and 16 deletions

View File

@@ -138,10 +138,8 @@ export class DePageContent extends DeesElement {
await this.elementDomReady;
const contentContainer = this.shadowRoot.querySelector('.content');
if (contentContainer.scrollHeight > contentContainer.clientHeight) {
console.log('overflows');
return true;
} else {
console.log('does not overflow!');
return false;
}
}