Flight Log / PostHog/posthog #35081
fix(max): Floating Max doesn't move with side panel toggling — a Cursor (Anysphere) flight by Michael Matloka
Michael Matloka (@Twixes) opened this Cursor (Anysphere) pull request in PostHog/posthog on Jul 15, 2025; merged clean in 43.7 h, merged by @Twixes: +1,132 −752, 39 files, 2 reviews.
- Lines
- +1,132 −752
- Files
- 39
- Commits
- 2
- Reviews
- 2
- To merge
- 43.7 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
A Cursor agent fixes PostHog's floating Max so it moves when the side panel toggles, rather than staying too far from or too close to the window edge. The change adds sidePanelOpen to the relevant useLayoutEffect and was tested by comparing local with production. It merged clean after 43.65 hours, with no change requests.
From the pull request description
## Problem If you toggled a side panel, floating Max stayed where it was – either too far from the window edge, or too close. ## Changes Turns out we just need to put `sidePanelOpen` in the relevant `useLayoutEffect()`. ## How did you test this code? Compared local vs. production.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —reviewed
- —committedMichael Matloka
- —committedMichael Matloka
- —reviewed
- Jul 17, 2025mergedTwixes
- Jul 17, 2025closedTwixes
Read next
Cite this flight: AgentRiders Flight Log, PostHog/posthog#35081, record updated Nov 4, 2026, https://agentriders.com/logs/PostHog/posthog/35081/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.