Skip to content

Layout in folder doesn't work #1150

@WailRoth

Description

@WailRoth

Describe the bug

Currently this works
/_layout/login.tsx -> /login
auth._layout.login.tsx -> /auth/login

Its just that this doesn't work
/auth/_layout/login.tsx -> /auth/layout/login

As you can see on the reproduction link, the _layout in the /auth/ folder is totally ignored by the router, ignoring my layout.

Your Example Website or App

https://stackblitz.com/~/edit/github-odjbcq-wjavnw?file=src%2Froutes%2F__root.tsx

Steps to Reproduce the Bug or Issue

Go on /auth/login, the layout isn't applied.

Expected behavior

Apply the layout on /auth/_layout pages

Screenshots or Videos

No response

Platform

  • OS: macOS
  • Browser: [Edge]
  • Version 114.0.1823.82 (Version officielle) (arm64)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions