Fix issues in https://github.com/flutter/flutter/pull/28687
Attach a file by drag & drop or click to upload