xw
xw
This is currently the case. This is because there is only one swagger-ui interface on the entire page, which is almost positioned relative to the entire body, and the implementation...
Now you can try version [[email protected]](https://github.com/wll8/redoc-try/compare/1.4.4...1.4.6) to verify that the problem is fixed.
Since I basically don't use redoc, I haven't found many problems. sorry. How can I see the navigation bar in your video? Is it some version of redoc?
Please try it out with this code, and if the issue is resolved, I'll merge it into the master branch for a release. https://github.com/wll8/redoc-try/blob/1dadc5b27c3adeecf4efaeb23736008e795bda52/try.js
Now you can try version [[email protected]](https://github.com/wll8/redoc-try/compare/1.4.7...1.4.8) to verify that the problem is fixed.
Currently listening to redoc_dom being clicked, and then updating swagger-ui . If the page is changed through history.push, redoc-try cannot know. Do you accept an api such as window.initTry.renderPos for...
In general, you don't need to use this api, it is used when the position of swagger-ui is not updated. - initTry.renderPos() Manually update the redoc-try window position. - initTry.hide()...
What it actually does is: ``` js const isVisibleRes = isVisible(document.querySelector(`.try .fullApiBox`)) // Destroy swagger-ui if redoc_dom related content is not visible if(isVisibleRes === false) { $(`.swaggerBox`).addClass(`hide`).removeClass(`show`) } ``` it's...
`.try .fullApiBox` indicates the currently open try-out window: 
Use this function to check if `.try .fullApiBox` is visible: ``` js function isVisible(element) { let isVisible = true let parentElement = element if(Boolean(parentElement) === false) { isVisible = false...