Skip to content

Conversation

@AhmedSabrye
Copy link

Problem:
The id field was being used as the React key in the gallery component, but it wasn’t guaranteed to be unique across tags. This caused React to reuse elements incorrectly, which triggered the non-clickable dictionary bug when switching between tags.

Solution:
Updated the id to be unique, preventing conflicts during re-render.

Fixes: #1018

@vercel
Copy link

vercel bot commented Aug 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
qwerty-learner Ready Ready Preview Comment Aug 25, 2025 9:33am

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.

navigating between "自考英语二" and "其他" tags in gallery several times causes bug of appearing dictionary that ain't clickable

1 participant