Skip to content

Asset upload freezes browser tab - file uploads but UI hangs #14524

@ypantig

Description

@ypantig

Bug description

When uploading an asset through the Control Panel (either via the upload button or drag-and-drop), the browser tab completely freezes. No file is uploaded to the server and no network request is made.

Key observations:

  • File picker opens normally
  • After selecting a file, the browser tab freezes immediately
  • No progress indicator appears
  • No network request is visible in DevTools Network tab
  • No JavaScript errors in the console
  • The file IS uploaded successfully (confirmed by checking the filesystem - file appeared with correct timestamp)
  • The freeze requires killing the tab

How to reproduce

  1. Go to CP → Assets
  2. Click Upload or drag a file onto the asset browser
  3. Select an image file
  4. Browser tab freezes

Tested on a new Statamic install just in case it was something on our project that was causing the error - same issue is showing up. Also created a new install of Statamic 5 for testing, and the upload works fine.

Logs

No errors in laravel.log - the request never seems to reach Laravel's error handling.

Environment

Environment
Laravel Version: 13.5.0
PHP Version: 8.4.6
Composer Version: 2.8.8
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: database
Database: sqlite
Logs: stack / single
Mail: mailgun
Queue: database
Session: database

Storage
public/storage: LINKED

Statamic
Addons: 1
Sites: 1
Stache Watcher: Disabled
Static Caching: full
Version: 6.14.0 PRO

Statamic Addons
statamic/seo-pro: 7.5.1

Installation

Fresh statamic/statamic site via CLI

Additional details

Additional context:

  • Headless CMS setup with Inertia.js for frontend
  • CP routes are excluded from Inertia middleware
  • Asset container uses local public disk
  • Issue occurs on both local and production (AWS) environments
  • Was working on Statamic 5 + Laravel 12 about 4 months ago when it was first tested

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions