mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 15:38:59 +03:00
6f7ed005ae
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. |
||
---|---|---|
.. | ||
config | ||
dbug | ||
public | ||
src | ||
.babelrc | ||
.eslintrc.js | ||
.gitignore | ||
CONTRIBUTING.md | ||
package-lock.json | ||
package.json | ||
preinstall.sh | ||
README.md | ||
tsconfig.json |
interface
Landscape is Tlon's suite of userspace applications (and web interface), currently bundled as part of Arvo.
This directory comprises the source code for the web interface. For code related to the Gall agents that make up the Landscape suite in Arvo, see pkg/arvo.
Contributions and feature requests
For information on how to contribute, see CONTRIBUTING. To submit a feature request, submit to the product board at urbit/landscape.