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:
Commit
1705a2728f
2 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
|
@ -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();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren