Upload fails to upload a second file via drag and drop

Nextcloud version : 16.0.3
Operating system and version : unknown
Apache or nginx version : unknown
PHP version : 7.2.19

When I start an upload by dragging and dropping a file it begins to upload normally. If I add another file via drag and drop while the first one is still uploading the progress bar shows the wrong information - the information for the second file. But when the bar reaches 100% it doesn’t disappear because the first file is still uploading in the background. As soon as both files are uploaded the progressbar disappears and the files pop up in the folder. BUT when i download the first file i uploaded it is corrupted and can’t be opened (e.g. a zip file shows “Error 2”).

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Start uploading a file via drag and drop
  2. Start uploading a second file via drag and drop

The output of your Nextcloud log in Admin > Logging:

log doesn't show anything

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'xxx',
  ),
  'datadirectory' => 'xxx',
  'dbtype' => 'mysql',
  'version' => '16.0.3.0',
  'overwrite.cli.url' => 'xxx',
  'dbname' => 'xxx',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'xxx',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'tempdirectory' => 'xxx',
  'mail_smtpmode' => 'sendmail',
  'mail_sendmailmode' => 'pipe',
  'mail_from_address' => 'mail',
  'mail_domain' => xxx',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
);