Skip to content

WV-2472: Fix the More menu toggle and close the gap above the footer (mobile)#4830

Open
0x416c616e wants to merge 1 commit into
wevote:developfrom
0x416c616e:WV-2472
Open

WV-2472: Fix the More menu toggle and close the gap above the footer (mobile)#4830
0x416c616e wants to merge 1 commit into
wevote:developfrom
0x416c616e:WV-2472

Conversation

@0x416c616e

Copy link
Copy Markdown

The More button didn't toggle as expected because the ClickAwayListener and the More button's onChange toggle were both triggering on the same click — the menu would close and immediately reopen, making it look like it wasn't closing at all.

I put the More button's anchorRef into MoreMenuOverlay and made the ClickAwayListener ignore clicks when the target is inside the anchor, so the button's onChange is the sole toggler.

Also closed the small CSS gap between the expanded More menu and the footer below it by aligning the menu's bottom edge to the footer height (and removing a leftover translateY nudge).

…er on mobile

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant