Skip to content

Fixed Card Clicking#559

Open
yash045 wants to merge 1 commit intofirstcontributions:mainfrom
yash045:yd_bug
Open

Fixed Card Clicking#559
yash045 wants to merge 1 commit intofirstcontributions:mainfrom
yash045:yd_bug

Conversation

@yash045
Copy link

@yash045 yash045 commented Feb 18, 2026

Bug cause -
Those cards render Issue List, which contains issue links ( tags).
ProjectCard was also wrapping the entire card in an outer , creating nested anchors (invalid HTML). Browsers handle this unpredictably, which caused the button area to lose proper pointer/link behavior.
Fix implemented -
Removed the outer card-level anchor wrapper.
Kept card content inside a non-link container.
Made “Go to Project” a standalone anchor with:
href={projectLink}
target="_blank"
rel="noopener noreferrer"
Added explicit button-link styles (display: block, text-decoration: none, cursor: pointer) to preserve expected UX.
Result -
The “Go to Project” button now behaves consistently as a clickable link across all cards, including those with embedded issue links.

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

Comments