mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
We are using `.val` to set compose box content which is very fast vs `setFieldText` which is very slow due to it doing a lot of forced repaints. The major downside of using `val` here is that user will not able to perform `undo` operation on this which doesn't seem something user would want to do here. Note that this effects compose content restored from drafts, scheduled messages and on reload.
18 KiB
18 KiB