Skip to content

Comments

perf: remove forceMount from tooltip#573

Merged
jrasm91 merged 1 commit intomainfrom
perf/tooltip-forcemount
Feb 6, 2026
Merged

perf: remove forceMount from tooltip#573
jrasm91 merged 1 commit intomainfrom
perf/tooltip-forcemount

Conversation

@michelheusschen
Copy link
Collaborator

@michelheusschen michelheusschen commented Feb 6, 2026

Large grids like the album cards with 1000+ items render many IconButtons which end up always mounting a tooltip in a portal because of forceMount. This was adding considerable overhead on Firefox. Previously loading a grid with 1000 albums took ~11s, now it's down to ~3s.

Removing forceMount skips the intro transition, so the tooltip animation is moved to native CSS.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

📖 Preview of ui.immich.app deployed to ui.pr-573.dev.immich.app

@jrasm91
Copy link
Member

jrasm91 commented Feb 6, 2026

Wow, great find.

@jrasm91 jrasm91 merged commit 41a337f into main Feb 6, 2026
8 checks passed
@jrasm91 jrasm91 deleted the perf/tooltip-forcemount branch February 6, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants