Skip to content

[Bug]: Navigating after selecting an item redirects to "Page not found" #392

Description

@ebrahimgamdiwala

App

Drive

What happened?

When an item (folder/file) is selected in the Drive home view, attempting to navigate to another folder results in the application redirecting to a "Page not found" screen instead of opening the target folder. The selected state appears to interfere with the navigation logic, causing an invalid route to be generated.

Expected Behavior

  • The clicked folder should open normally.

  • Alternatively, if multi-selection mode is active, clicking a folder should either:

    • navigate into that folder, or
    • clearly remain in selection mode without generating an invalid route.

Actual Behavior

  • Instead of opening the selected folder, the application navigates to a "Page not found" screen.
  • The URL appears to become invalid, indicating that the routing logic is incorrectly handling navigation while an item is selected.
Recording.2026-07-29.154159.mp4

Steps to reproduce

  1. Open Frappe Drive.
  2. Navigate to the Home directory.
  3. Click the checkbox (or otherwise select) an existing folder/item.
  4. Without clearing the selection, click another or same folder to navigate into it.
  5. Observe the application's behavior.

Environment

OS : Windows 11
Browser : Edge
Both Self-hosted and Frappe Cloud

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdrive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions