]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
panel/JournalView: fix flickering in journal livemode
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 22 Jun 2021 09:57:25 +0000 (11:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 22 Jun 2021 10:46:26 +0000 (12:46 +0200)
commit17c320c83193e895432a7c459956814b4d2dce89
tree43c789b81ef289cf1e2daaa11046067186bf46b5
parentf869d73e505cc54d80bbc5f60941f009cd7be0e0
panel/JournalView: fix flickering in journal livemode

it seems that something changed in extjs 7 which does not quite
restore the correct scroll position when the identical content is set
on a component. this means that sometimes, we update the text
with the identical one, but the scroll position is now off, only
to scroll back to the bottom

this causes a flickering everytime we do the api call.

instead, only update the component when the content really changed.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/panel/JournalView.js