* fix(studio): prevent UI freeze when switching tabs from heavy pages Change AnimatePresence mode from "wait" to "popLayout" to fix issue where switching tabs from Export (or other heavy pages) would cause the URL to update but the UI to freeze. With mode="wait", the exit animation must complete before the new component mounts. If the exiting page has expensive computations, this blocks the UI. mode="popLayout" allows the new route to mount immediately while the old one animates out. Fixes #5850 * fix: add relative positioning for popLayout mode AnimatePresence mode='popLayout' applies position: absolute to the exiting element, so the parent container needs position: relative to prevent layout jumps during transitions. --------- Co-authored-by: Lee Jackson <130007945+Imagineer99@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| routes | ||
| app.tsx | ||
| auth-guards.ts | ||
| provider.tsx | ||
| router.tsx | ||