diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-04-01 23:35:12 +0200 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-04-01 23:54:35 +0200 |
commit | 261754f18b8a5e6e6eedf39d6f6b143a752b0588 (patch) | |
tree | 930ff7ea699002d1bed59abb9e88c8ad48d4c801 /client/components/main/popup.styl | |
parent | 980db9cb0c822f9c9a86a841e2780a4d9e791a46 (diff) | |
download | wekan-261754f18b8a5e6e6eedf39d6f6b143a752b0588.tar.gz wekan-261754f18b8a5e6e6eedf39d6f6b143a752b0588.tar.bz2 wekan-261754f18b8a5e6e6eedf39d6f6b143a752b0588.zip |
list: do not use IntersectionObserver to reduce CPU usage
Switch back to a custom spinner detection, as the IntersectionObserver
is eating a lot of CPU resources on idle.
This should also take care of #2250 properly: the previous `onDestroyed()`
was removing the resize and scroll callbacks, but they were not unique
enough, and they were shared across swimlanes. So if a list had 2 swimlanes
with spinners, when one was removed, the other was not triggering its
callbacks anymore.
Related: #2294
Diffstat (limited to 'client/components/main/popup.styl')
0 files changed, 0 insertions, 0 deletions