fern icon indicating copy to clipboard operation
fern copied to clipboard

[Bug] Browser hangs when trying to expand a response.

Open davidkonigsberg opened this issue 1 year ago • 1 comments

Describe the bug

When clicking "Expand All" next to the "Get Entity" response here the browser will freeze/crash

To reproduce

  1. Go to https://sayari-analytics.docs.buildwithfern.com/api/api-reference/entity/get-entity#entity-get_entity-response
  2. Click 'Expand All' next to 'Response'
  3. browser will freeze. If chrome, it will eventually ask you if you want to wait or give up.

Expected behavior

Either expand the section without error, or hide the option if the response is too large/complex

Screenshots

Screenshot 2024-01-08 at 5 19 32 PM

Version

Fern Docs

Additional context

Has been reproduced on Mac/windows with safari, chrome, brave, and Firefox

davidkonigsberg avatar Jan 08 '24 22:01 davidkonigsberg

Confirming I've reproduced this issue. Assigning to @abvthecity to remediate.

dannysheridan avatar Mar 10 '24 17:03 dannysheridan