Redocly / Redocly/redoc

Left Side Bar Panel arrow button not working on Next Js

Open
#2,255 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
Dominant language
TypeScript
Stars
25.9k
Forks
2.4k
Avg merge
13h 10m
Merged PRs (30d)
4

Description

Describe the bug
In Nextjs 12 version left panel sidebar arrow button not working But in react it works perfectly.I am getting some warning in console also.
Expected behavior
Should work same in react js
Minimal reproducible OpenAPI snippet(if possible)
using same https://redocly.github.io/redoc/openapi.yaml
Screenshot 2023-01-26 at 15 22 48
Screenshot 2023-01-26 at 15 24 26

Screenshots
If applicable, add screenshots to help explain your problem.
REDOC Version
"redoc": "2.0.0-alpha.54",

Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Next.js 12 using redoc 2.0.0-alpha.54 and https://redocly.github.io/redoc/openapi.yaml, then compare the sidebar arrow behavior with React and inspect the console warning. Done means the left sidebar arrow works in Next.js as it does in React and the reported warning is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.