filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.
https://www.filestack.com
MIT License
206 stars 76 forks source link

Pasting Excel Spreadsheet Cell into any HTML input triggers Filestack upload (only since version 3.24.0) #450

Open chriscain opened 3 years ago

chriscain commented 3 years ago

We're currently pinned to 3.x.x, and since the release of 3.24.0, when copying and pasting an excel spreadsheet cell into a textfield (after calling filestack.init(...)) an upload will be triggered. Explicitly pinning to 3.23.2 fixes this issue.

Expected Behavior

Regular old paste, should not trigger an upload

Current Behavior

Copying an excel spreadsheet cell and pasting it into an input triggers an upload

Possible Solution

As mentioned above, rolling back to version 3.23.2 fixes this issue. Couldn't find anything in the release diff to indicate where the bug is coming from, however!

Steps to Reproduce (for bugs)

image

  1. Copy spreadsheet cell
  2. Ensure filepicker is initialized on page
  3. Paste into regular text input

Your Environment

sebastian-wec commented 3 years ago

We are currently investigating that case