From e49212d0bcfc3e09e260713ae865a8e782459cdc Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Thu, 23 Apr 2020 14:17:15 -0400 Subject: [PATCH] DEV: Draft check async when starting new PM When the sequence is missng, the draft check is done synchronously and it results in iOS devices not launching the keyboard. --- app/assets/javascripts/discourse/app/routes/application.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/app/routes/application.js b/app/assets/javascripts/discourse/app/routes/application.js index 856c203058e..a16f97ffd9d 100644 --- a/app/assets/javascripts/discourse/app/routes/application.js +++ b/app/assets/javascripts/discourse/app/routes/application.js @@ -85,6 +85,7 @@ const ApplicationRoute = DiscourseRoute.extend(OpenComposer, { recipients, archetypeId: "private_message", draftKey: Composer.NEW_PRIVATE_MESSAGE_KEY, + draftSequence: 0, reply, title });