InvokeAI/invokeai/frontend/web
psychedelicious 41e324fd51 perf(ui): disable useInert on modals
This hook forcibly updates _all_ portals with `data-hidden=true` when the modal opens - then reverts it when the modal closes. It's intended to help screen readers. Unfortunately, this absolutely tanks performance because we have many portals. React needs to do alot of layout calculations (not re-renders).

IMO this behaviour is a bug in chakra. The modals which generated the portals are hidden by default, so this data attr should really be set by default. Dunno why it isn't.
2024-08-30 22:20:36 +10:00
..
.storybook feat(ui): split out params/compositing state from canvas rendering state 2024-08-30 22:20:12 +10:00
patches feat(ui): patch reselect to use lruMemoize only 2024-01-06 00:03:07 +11:00
public feat(ui): add flip & reset to transform 2024-08-30 22:20:36 +10:00
scripts chore(ui): eslint 2024-08-30 22:19:54 +10:00
src perf(ui): disable useInert on modals 2024-08-30 22:20:36 +10:00
static/docs feat(ui): update assets 2024-01-12 08:02:59 +11:00
__init__.py
.eslintignore fix(ui): fix workflow editor model selector, excise ONNX 2024-01-03 13:18:50 +11:00
.eslintrc.js build(ui): add eslint rules for async stuff 2024-08-30 22:18:49 +10:00
.gitignore tests(ui): set up vitest coverage 2024-05-15 14:09:44 +10:00
.prettierignore fix(ui): fix workflow editor model selector, excise ONNX 2024-01-03 13:18:50 +11:00
.prettierrc.js chore(ui): use new prettier config 2024-01-28 19:57:53 +11:00
index.html Add ID to the HTML link element 2024-04-15 07:54:36 +10:00
knip.ts tidy(ui): remove unused stuff 2 2024-08-30 22:18:50 +10:00
package.json chore(ui): bump @invoke-ai/ui-library 2024-08-30 22:20:12 +10:00
pnpm-lock.yaml chore(ui): bump @invoke-ai/ui-library 2024-08-30 22:20:12 +10:00
README.md docs: move frontend docs to mkdocs 2024-03-13 22:43:20 +11:00
tsconfig.json build(ui): add vite types to tsconfig 2024-08-30 22:18:49 +10:00
tsconfig.node.json fix(ui): fix package build 2024-03-01 10:42:33 +11:00
vite.config.mts tests(ui): set up vitest coverage 2024-05-15 14:09:44 +10:00