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

On mobile, nav panel is unexpectedly closed after user expands or collapses sections #5740

Open
hkosova opened this issue Jan 24, 2025 · 0 comments
Labels
bug Issues reporting bugs. product/docs Fern Docs which builds and hosts a developer documentation site

Comments

@hkosova
Copy link

hkosova commented Jan 24, 2025

CLI Version (from fern.config.json)

0.50.17

Minimal API Specification

n/a

Actual UI Behavior

On mobile, when you try to expand or collapse an expandable section by clicking its name, the navigation panel is immediately closed and you see the previously opened page. But the section itself still gets expanded/collapsed - you can notice this if you open the navigation panel again.

The issue does not occur when clicking the arrow icon to expand/collapse sections.

Desktop version also does not have this issue.

Image

Expected UI Behavior

Navigation panel stays open until the user selects a link that goes to a page or until the user explicitly closes the nav panel.

Steps to Reproduce

  1. Open https://buildwithfern.com/learn/docs on mobile.
  2. Click the hamburger icon to open the navigation.
  3. Under "Writing Content", select "Components" (click the text label, not the arrow).

Environment Details

  • Chrome on Android
  • Chrome in device mode on macOS
@hkosova hkosova added bug Issues reporting bugs. product/docs Fern Docs which builds and hosts a developer documentation site labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues reporting bugs. product/docs Fern Docs which builds and hosts a developer documentation site
Development

No branches or pull requests

1 participant