Redocly/redoc

Redoc navigation doesn't work inside iframe

Open

#2,151 建立於 2022年9月5日

在 GitHub 查看
 (1 留言) (2 反應) (0 負責人)TypeScript (2,272 fork)batch import
help wantedinvestigation

倉庫指標

Star
 (21,877 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Describe the bug We have added redoc to our doc site. Due to style conflicts, we decided to render redoc inside an iframe and embed the iframe in doc site. The redoc content from the given OpenAPI file is loaded correctly, but the sidebar navigation is broken. Clicking on any link doesn't navigate the user to corresponding API resource definition.

Expected behavior Navigation between API endpoint definitions should work.

Minimal reproducible OpenAPI snippet(if possible) This problem is independent of the OpenAPI snippet

Screenshots N/A

Additional context Add any other context about the problem here.

貢獻者指南