rapi-doc / RapiDoc

RapiDoc -WebComponent for OpenAPI Spec
https://rapidocweb.com
MIT License
1.71k stars 285 forks source link

Example section is not loading #1038

Open majoshi1 opened 1 month ago

majoshi1 commented 1 month ago

The example section is not loading. Any idea? Scenario: -Load the example: here. -Expand render panel (on right), so that left panel of rapidoc is visible. -Scroll down to example section. Expected: Example is loaded. Actual: Example section is blank.

Notes: -The example uses loadSpec call. It works if spec-url is used.

Blank example section: image

Workaround: Click on same API again (Update an existing pet), from left panel and scroll down. Now example loads. Example loads: image

mrin9 commented 1 month ago

can you try to isolate the issue by checking if it works without react ? if yes then it may be some issue with reactivity observation

majoshi1 commented 1 month ago

Same issue without react: here.