diff --git a/packages/survey-angular-ui/src/questions/signature.component.html b/packages/survey-angular-ui/src/questions/signature.component.html
index 6683d592cb..1522921e52 100644
--- a/packages/survey-angular-ui/src/questions/signature.component.html
+++ b/packages/survey-angular-ui/src/questions/signature.component.html
@@ -4,7 +4,7 @@
-
+
-
+
-
+
diff --git a/src/react/signaturepad.tsx b/src/react/signaturepad.tsx
index 92b4297f36..740bae2c7c 100644
--- a/src/react/signaturepad.tsx
+++ b/src/react/signaturepad.tsx
@@ -27,7 +27,7 @@ export class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {
{this.renderBackgroundImage()}
-
+
{clearButton}
{loadingIndicator}
diff --git a/src/vue/signaturepad.vue b/src/vue/signaturepad.vue
index affd8564cf..308fc5c305 100644
--- a/src/vue/signaturepad.vue
+++ b/src/vue/signaturepad.vue
@@ -13,7 +13,7 @@
v-bind:style="{
width: question.renderedCanvasWidth,
}">
-
+
{
return window["uploadFilesCallCount"];
})()).eql(1);
});
+ test("Signature: no focus with tab", async (t) => {
+ await t.resizeWindow(1920, 1080);
+ await initSurvey(framework, {
+ "elements": [
+ {
+ "type": "text",
+ "name": "q1",
+ "placeholder": "q1"
+ },
+ {
+ "type": "signaturepad",
+ "name": "signature"
+ },
+ {
+ "type": "text",
+ "name": "q2",
+ "placeholder": "q2"
+ }
+ ],
+ "showQuestionNumbers": false
+ });
+
+ await t.click(Selector("input[placeholder=q1]"));
+ await t.expect(Selector("input[placeholder=q1]").focused).ok();
+ await t.pressKey("tab");
+ await t.expect(Selector("input[placeholder=q2]").focused).ok();
+ });
+
});
\ No newline at end of file
diff --git a/tests/markup/snapshots/signaturepad-loading.snap.html b/tests/markup/snapshots/signaturepad-loading.snap.html
index fa1aff1f81..2c4ec1394d 100644
--- a/tests/markup/snapshots/signaturepad-loading.snap.html
+++ b/tests/markup/snapshots/signaturepad-loading.snap.html
@@ -3,7 +3,7 @@
Sign here
-
+
diff --git a/tests/markup/snapshots/signaturepad-scaled.snap.html b/tests/markup/snapshots/signaturepad-scaled.snap.html
index ae11b7984c..bc2513b0b0 100644
--- a/tests/markup/snapshots/signaturepad-scaled.snap.html
+++ b/tests/markup/snapshots/signaturepad-scaled.snap.html
@@ -4,7 +4,7 @@
-
+
\ No newline at end of file
diff --git a/tests/markup/snapshots/signaturepad-value.snap.html b/tests/markup/snapshots/signaturepad-value.snap.html
index bf4923f770..bb00010d59 100644
--- a/tests/markup/snapshots/signaturepad-value.snap.html
+++ b/tests/markup/snapshots/signaturepad-value.snap.html
@@ -3,7 +3,7 @@
Sign here
-
+
diff --git a/tests/markup/snapshots/signaturepad-with-backgroundImage.snap.html b/tests/markup/snapshots/signaturepad-with-backgroundImage.snap.html
index e57a1991d9..e84eddab24 100644
--- a/tests/markup/snapshots/signaturepad-with-backgroundImage.snap.html
+++ b/tests/markup/snapshots/signaturepad-with-backgroundImage.snap.html
@@ -4,7 +4,7 @@
-
+
\ No newline at end of file
diff --git a/tests/markup/snapshots/signaturepad.snap.html b/tests/markup/snapshots/signaturepad.snap.html
index 5815aea815..9a44ef9370 100644
--- a/tests/markup/snapshots/signaturepad.snap.html
+++ b/tests/markup/snapshots/signaturepad.snap.html
@@ -3,7 +3,7 @@
Sign here
-
+
\ No newline at end of file