Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for unique explanation component ID and client-only tags #145

Merged
merged 2 commits into from
May 11, 2022

Conversation

jarmoza
Copy link
Contributor

@jarmoza jarmoza commented May 10, 2022

This PR is for two small fixes.

The first is to supply the explanation component on annotation tabs with a unique ID so has consistent behavior - each explanation component on each tab acts like it is a separate object with its own expansion status.

The second is to replace the old no-ssr tag that is currently being used to overcome the duplicate annotation tab bug that @surchs discovered. The suggested client-only tag has replaced it. There is no discernible difference other than the deprecated no-ssr tag warning disappearing from the debug console.

Resolves #116
Resolves #109

Copy link
Contributor

@surchs surchs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @jarmoza, all looks good to me. Ready to merge

@jarmoza jarmoza merged commit 50ff6f2 into master May 11, 2022
@jarmoza jarmoza deleted the explanation-clientonly-fixes branch May 11, 2022 21:33
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.

Replace deprecated no-ssr flag Accordion ID bug in explanation component
2 participants