Skip to content

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

@Juneezee

Description

@Juneezee

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions