a07117c938
React 18 introduced automatic batching which tries to avoid unnecessary re-rendering (https://react.dev/blog/2022/03/08/react-18-upgrade-guide#automatic-batching). In some components based on react-virtualized (e.g. tag selector), it leads to visible lagginess on scroll via keypress or mouse wheel (not trackpad). This patch wraps setState of the scroll handler of react-virtualized with ReactDOM.flushSync, which opts out of automatic batching. Fixes: #4368 |
||
---|---|---|
.. | ||
.eslintrc | ||
babel-worker.js | ||
browserify.js | ||
build.js | ||
clean.js | ||
config.js | ||
copy.js | ||
ftl-to-json.mjs | ||
js.js | ||
localize-ftl.mjs | ||
note-editor.js | ||
pdf-reader.js | ||
pdf-worker.js | ||
sass.js | ||
symlinks.js | ||
utils.js | ||
watch.js |