urbit/pkg
Liam Fitzgerald 6f7ed005ae
VirtualScroller: fix race condition in ref deletion
A callback ref is called after the component is mounted, but before the
component is unmounted. However, we might still be adjusting scroll
position based on a component that is going to be remounted. Previously,
we delayed the deletion until the next tick with setTimeout. With the
faster ordered map implementation, the component may be remounted
before the next tick, leading to the deletion of a ref that is still
mounted. To work around this, we store a set of 'orphans' and clear the
map of orphans on an interval, and only clear the map if we are not
currently adjusting our scroll position. Also includes fixes for jumpy
scroll behaviour on initial mount.
2021-04-22 15:04:38 +10:00
..
arvo metadata-store: prevent infinite loop 2021-04-20 16:15:04 +10:00
docker-image docker: update container documentation 2021-04-18 16:22:32 -04:00
ent build: rework all nix expressions to support hercules-ci builds 2020-10-27 13:55:49 +01:00
ge-additions build: rework all nix expressions to support hercules-ci builds 2020-10-27 13:55:49 +01:00
herb herb/lens: add utilites for import/export 2020-12-01 00:00:49 -08:00
hs urbit: bumps version to 1.3 2021-04-01 15:33:14 -07:00
interface VirtualScroller: fix race condition in ref deletion 2021-04-22 15:04:38 +10:00
libaes_siv build: rework all nix expressions to support hercules-ci builds 2020-10-27 13:55:49 +01:00
npm BigIntOrderedMap: remove lodash dependency 2021-04-21 16:39:35 +10:00
urbit Revert "vere: fix cttp crash by accounting for synchronous error callback" 2021-04-14 20:16:52 -07:00