gitfut icon indicating copy to clipboard operation
gitfut copied to clipboard

UI Issue: "Share My Card" button overlaps the country dropdown

Open sheikhwasimuddin opened this issue 5 months ago • 4 comments

What happened

When opening the country selector, the "Share My Card" button overlaps the country dropdown. This causes the dropdown to cover the button and reduces the visible area for the country list, resulting in a poor user experience.

Steps to reproduce

  1. Open the card/profile page.
  2. Click the Country dropdown.
  3. Observe that the "Share My Card" button overlaps the dropdown while it is open.

Expected

The country dropdown should be fully visible without overlapping any other UI elements. The "Share My Card" button should remain below the dropdown (or the dropdown should render above other elements) so users can browse and select countries without obstruction.

Card / screenshot

GitHub username: sheikhwasimuddin

Screenshot:

Image

Environment

  • Browser: Chrome 137.0.x (or your browser/version)
  • OS: Windows 11 (or your operating system)

sheikhwasimuddin avatar Jul 05 '26 19:07 sheikhwasimuddin

I could reproduce this and fixed it.\n\nI opened PR 36. The dropdown now checks viewport space and opens upward when there is not enough room below the country flag trigger, so it no longer covers the Share My Card / platform buttons.\n\nI also ran npm run lint and npm test before opening the PR.

ahfoysal avatar Jul 05 '26 19:07 ahfoysal

Hello @sheikhwasimuddin, thanks for reporting this issue It will be fixed ASAP

Younesfdj avatar Jul 07 '26 01:07 Younesfdj

Hi @Younesfdj, I tested the latest changes. The issue appears to be fixed on desktop, but it is still reproducible on mobile devices (responsive view). The country dropdown still overlaps the "Share My Card" button, making part of the dropdown difficult to use.

sheikhwasimuddin avatar Jul 07 '26 15:07 sheikhwasimuddin

@sheikhwasimuddin fixed by now, enjoy Gitfut⚽

Younesfdj avatar Jul 07 '26 22:07 Younesfdj