Skip to content

Fix flag picker overlap with share actions#36

Open
ahfoysal wants to merge 1 commit into
Younesfdj:masterfrom
ahfoysal:ahfoysal-fix-gitfut-35-flag-dropdown-overlap
Open

Fix flag picker overlap with share actions#36
ahfoysal wants to merge 1 commit into
Younesfdj:masterfrom
ahfoysal:ahfoysal-fix-gitfut-35-flag-dropdown-overlap

Conversation

@ahfoysal

@ahfoysal ahfoysal commented Jul 5, 2026

Copy link
Copy Markdown

What I changed

  • Adjusted country picker position logic in components/FlagPicker.tsx.
  • The picker now checks available space and opens upward when there is not enough room below the trigger.
  • This prevents the dropdown from covering the share buttons (issue UI Issue: "Share My Card" button overlaps the country dropdown #35) while preserving the existing keyboard and ARIA behavior.

Validation

  • npm run lint
  • npm test

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