From 5da7030c766549726fc07182779d3436fcf7b032 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 30 Mar 2023 12:19:00 +0800 Subject: [PATCH 1/3] FIX: autofocus is causing issues on long steps --- .../javascripts/discourse/components/custom-wizard-step.js.es6 | 2 -- 1 file changed, 2 deletions(-) diff --git a/assets/javascripts/discourse/components/custom-wizard-step.js.es6 b/assets/javascripts/discourse/components/custom-wizard-step.js.es6 index ee318b60..7c933771 100644 --- a/assets/javascripts/discourse/components/custom-wizard-step.js.es6 +++ b/assets/javascripts/discourse/components/custom-wizard-step.js.es6 @@ -115,8 +115,6 @@ export default Component.extend({ schedule("afterRender", () => { if ($(".invalid .wizard-focusable").length) { this.animateInvalidFields(); - } else { - $(".wizard-focusable:first").focus(); } }); }); From 889caf3fa514db848ecdbd6fb89f9f1f78dbe61f Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 30 Mar 2023 12:21:23 +0800 Subject: [PATCH 2/3] Bump version --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 1cf51e6a..758b5980 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. -# version: 2.2.17 +# version: 2.2.18 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever # url: https://github.com/paviliondev/discourse-custom-wizard # contact_emails: development@pavilion.tech From 2d8b830962187909658b65ef61df6cd950f43d54 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 30 Mar 2023 12:22:20 +0800 Subject: [PATCH 3/3] Bump version --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 758b5980..a9f88583 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. -# version: 2.2.18 +# version: 2.2.19 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever # url: https://github.com/paviliondev/discourse-custom-wizard # contact_emails: development@pavilion.tech