Skip to content

Commit 486ed07

Browse files
authored
Merge pull request #246 from gyurielf/update-patch-version
chore: update changeset
2 parents ab93bec + e5eb691 commit 486ed07

File tree

4 files changed

+59
-194
lines changed

4 files changed

+59
-194
lines changed

.changeset/lucky-keys-shop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte-tel-input': patch
3+
---
4+
5+
fix: cursor position

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
"test": "pnpm test -r --filter=./packages/*"
4747
},
4848
"devDependencies": {
49-
"@changesets/cli": "^2.27.6",
49+
"@changesets/cli": "^2.29.7",
5050
"@changesets/get-github-info": "^0.6.0",
51-
"@changesets/types": "^6.0.0",
51+
"@changesets/types": "^6.1.0",
5252
"@typescript-eslint/eslint-plugin": "^7.14.1",
5353
"dotenv": "^16.4.5",
5454
"eslint": "^8.57.0",

packages/svelte-tel-input/src/lib/components/input/TelInput.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
inputValue,
162162
initialCursorPosition
163163
);
164-
164+
165165
el.selectionStart = newCursorPosition;
166166
el.selectionEnd = newCursorPosition;
167167
}
@@ -176,7 +176,7 @@
176176
inputValue,
177177
initialCursorPosition
178178
);
179-
179+
180180
el.selectionStart = newCursorPosition;
181181
el.selectionEnd = newCursorPosition;
182182
}

0 commit comments

Comments
 (0)