asyncapi / website

AsyncAPI specification website
https://www.asyncapi.com
Apache License 2.0
491 stars 632 forks source link

[BUG] layout of tree in specification explorer doesnt reorganize on collapsing #3334

Open catosaurusrex2003 opened 2 hours ago

catosaurusrex2003 commented 2 hours ago

Describe the bug.

see the blank space between components and operations

whenever you expand and collapse a node in the tree the blank space is retained by the node even though it is not expanded.

image

Expected behavior

when i collapse a node A and then expand another node B

node A should not have extra blank space as its children are hidden

Screenshots

added

How to Reproduce

  1. go to https://www.asyncapi.com/docs/reference/specification/v3.0.0-explorer
  2. expand components
  3. collapse components
  4. expand channels
  5. see the blank space

🥦 Browser

Mozilla Firefox

👀 Have you checked for similar open issues?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

github-actions[bot] commented 2 hours ago

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.