0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 11:00:28 +01:00

Merge pull request #240 from paviliondev/field_focus_fix

FIX: autofocus is causing issues on long steps
Dieser Commit ist enthalten in:
Angus McLeod 2023-03-30 15:11:19 +08:00 committet von GitHub
Commit 1705a2728f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -115,8 +115,6 @@ export default Component.extend({
schedule("afterRender", () => { schedule("afterRender", () => {
if ($(".invalid .wizard-focusable").length) { if ($(".invalid .wizard-focusable").length) {
this.animateInvalidFields(); this.animateInvalidFields();
} else {
$(".wizard-focusable:first").focus();
} }
}); });
}); });

Datei anzeigen

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
# name: discourse-custom-wizard # name: discourse-custom-wizard
# about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. # 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 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever
# url: https://github.com/paviliondev/discourse-custom-wizard # url: https://github.com/paviliondev/discourse-custom-wizard
# contact_emails: development@pavilion.tech # contact_emails: development@pavilion.tech