Skip to content

New Asset folder disappears when clicking away instead of pressing Enter #15226

Description

@aaronbushnell

Bug description

This is more of an authoring‑experience issue. A client tried to create a new folder in the Assets area, gave it a name, and then clicked away. On macOS this works, but in Statamic the folder never appears; the user reports that it disappears after creation.

To reduce confusion, clicking away after naming a folder for the first time should save it, mirroring the behavior users expect on their operating systems. At a minimum, the system should display an alert warning that the new folder will be deleted or canceled if the user clicks away.

How to reproduce

  1. Create a folder in Assets.
  2. Give it a name.
  3. Click away from that folder instead of hitting the Enter key.

Logs

Environment

Environment
Laravel Version: 13.26.1
PHP Version: 8.4.23
Composer Version: 2.10.1
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: LINKED

Statamic
Addons: 4
License Key: Set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.28.0 PRO

Statamic Addons
statamic/seo-pro: 7.13.2
trendyminds/janitor: 1.4.2
trendyminds/orbit-statamic: 2.1.3
trendyminds/statamic-guide: 1.0.0

Installation

Existing Laravel app

Additional details

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions