Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object does not expand on click since v2.0.0-rc.60 #1875

Closed
Juneezee opened this issue Jan 26, 2022 · 2 comments · Fixed by #1877
Closed

object does not expand on click since v2.0.0-rc.60 #1875

Juneezee opened this issue Jan 26, 2022 · 2 comments · Fixed by #1877

Comments

@Juneezee
Copy link

Juneezee commented Jan 26, 2022

Describe the bug
object does not expand on click since v2.0.0-rc.60

Expected behavior
object is expanded on click

Minimal reproducible OpenAPI snippet(if possible)
See the JS Bin demo.

The HTML below is the example from https://redoc.ly/docs/redoc/quickstart/#redoc-quickstart-guide

<!DOCTYPE html>
<html>
  <head>
    <title>Redoc</title>
    <!-- needed for adaptive design -->
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link
      href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700"
      rel="stylesheet"
    />

    <!--
    Redoc doesn't change outer page styles
    -->
    <style>
      body {
        margin: 0;
        padding: 0;
      }
    </style>
  </head>
  <body>
    <!--
    Redoc element with link to your OpenAPI definition
    -->
    <redoc spec-url="https://redocly.github.io/redoc/openapi.yaml"></redoc>
    <!--
    Link to Redoc JavaScript on CDN for rendering standalone element
    -->
    <script src="https://cdn.jsdelivr.net/npm/redoc@2.0.0-rc.60/bundles/redoc.standalone.js"></script>
  </body>
</html>

Screenshots
image

Additional context
It works fine on v2.0.0-rc.59

@Oprysk Oprysk linked a pull request Jan 26, 2022 that will close this issue
3 tasks
@RomanHotsiy RomanHotsiy mentioned this issue Jan 26, 2022
3 tasks
@ferjul17
Copy link

Is it possible to purge the cache of jsdelivr to deliver the version 2.0.0-rc.62 instead of the version 2.0.0-rc.61 which still have the bug?

@RomanHotsiy
Copy link
Member

Should be purged now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants