Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tylershuster
Copy link
Contributor

fixes #3589

Due to inconsistencies in how browsers handle "change" events, it is necessary to make a brief delay on S3 uploader to prevent double-uploading

Copy link
Contributor

@matildepark matildepark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Safari -> Dragging and dropping dumps the image straight into Chat. Pasting the image stream returns a URL in the input.

Firefox (79, then updated to 81) -> Dragging and dropping returns a URL in the input. Pasting the image stream does nothing.

…cies

fixes #3589

Due to inconsistencies in how browsers handle "change" events, it is necessary to make a brief delay on S3 uploader to prevent double-uploading
@tylershuster
Copy link
Contributor Author

My bad. I forgot this whole thing came about because Firefox doesn't like change handlers being fired asynchronously.. This should work.

Copy link
Contributor

@matildepark matildepark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Behavioural parity established between Webkit and Gecko

@matildepark matildepark merged commit 68047b0 into urbit:release/next-userspace Sep 29, 2020
@tylershuster tylershuster deleted the firefox-image-paste branch September 29, 2020 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants