fix #3862 (cherry picked from commit 36fda079eaf46162d0cd67f205766e9c71ee1cc5)
Attach a file by drag & drop or click to upload