I use it on open api 3 spec.
I have multiple api operations with double (or more) tags.
When i click on one though the ReDoc Viewer, it automatically moves the navigation to the top most tag in the navigation.
Say: Tag1,Tag2
operation A has tag 1 and 2.
This is very annoying.
I have experienced this behavior as well.
This is ReDoc limitation. I will think how to fix it properly.
Thanks for the issue report.
A possible solution could be to integrate the tag name into the link instead of only relaying on operationIdlike ( #operation/operationId/tagname).
This would result in the direct links:
#operation/A/Tag1#operation/A/Tag2And to keep existing links working also make `#operation/A link to the first entry.
I've done a PR to fix this https://github.com/Redocly/redoc/pull/1245. Would appreciate thumbs up on it
Most helpful comment
A possible solution could be to integrate the tag name into the link instead of only relaying on
operationIdlike (#operation/operationId/tagname).This would result in the direct links:
#operation/A/Tag1#operation/A/Tag2And to keep existing links working also make `
#operation/Alink to the first entry.