Skip to content

Allow event defaults on index for text data transfer drop events#9840

Merged
Gargron merged 1 commit intomastodon:masterfrom
tmm576:feature/drag-drop-text-to-compose
Jan 17, 2019
Merged

Allow event defaults on index for text data transfer drop events#9840
Gargron merged 1 commit intomastodon:masterfrom
tmm576:feature/drag-drop-text-to-compose

Conversation

@tmm576
Copy link
Copy Markdown
Contributor

@tmm576 tmm576 commented Jan 17, 2019

Addresses #5756. Adds a guard clause for drag over and drop handlers in ui/index.js to allow plain text data transfers to avoid file dropzone behaviors. Permits dragging and dropping text into compose, search, spoiler inputs.

@Gargron Gargron merged commit 4cd0a10 into mastodon:master Jan 17, 2019
ClearlyClaire pushed a commit to ClearlyClaire/mastodon that referenced this pull request Jan 20, 2019
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
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