mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
While Zulip has supported drag/drop into the compose box for some time, if you drag/drop the file onto other parts of the message viewport, it would just do the default browswer behavior of replacing the Zulip app with that file opened in a new tab, which nobody wants. The inline comments document the set of rules for how we choose whether to drop the upload into the compose box or an edit widget, and also how to open the compose box in different situations. Fixes #14579.
26 KiB
26 KiB