wll8 / redoc-try

Add `Try it out` function like swagger on redoc.
https://wll8.github.io/redoc-try
117 stars 33 forks source link

overlapping other endpoints header #26

Closed shameel28 closed 1 year ago

shameel28 commented 1 year ago

when you open the try it out window first time after the page load and execute the API, and click on clear, the header section from other endpoint shows up

Please refer the screen shot

https://drive.google.com/file/d/1Rtb61Kcd1q5LJemr7eqnGUslzcAHuf7F/view?usp=sharing

it only happens first time

wll8 commented 1 year ago

Didn't find this problem on my current computer. Can you provide more information? For example, what browser version are you using and what version of redoc-try are you using?

wll8 commented 1 year ago

Is it possible to reproduce your problem in this link?

https://wll8.github.io/redoc-try/index.html

shameel28 commented 1 year ago

Yes I could reproduce it in the above link. Steps to reproduce.

  1. Open the link.
  2. Go to the last endpoint.
  3. Click on try and execute the endpoint.
  4. Click on clear. I am using latest version of chrome
shameel28 commented 1 year ago

https://drive.google.com/file/d/1Gb9UqceUUHW660umz6mp4oMeDGhfLl3O/view?usp=sharing

Please check this screen recording

wll8 commented 1 year ago

It seems that this function needs to be optimized, and it is expected to start repairing in 3 days.

wll8 commented 1 year ago

Fixed in version 1.4.3. Currently this problem no longer exists in index.html. Please see if it applies to your use case.

shameel28 commented 1 year ago

Thanks, the issue is resolved for my use case as well.