Skip to content

isInline undefined on root Nav #1

@chrisvxd

Description

@chrisvxd

When rendering a root nav, isInline is undefined. This is confusing.

Since root is a special case, we should either:

  1. Set both isInline AND isStack to true or
  2. Add another prop called isRoot

In the meantime, users can get around this by checking route === 'root'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions