@awes-io/ui 2.144.6 → 2.144.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.144.7](https://github.com/awes-io/client/compare/@awes-io/ui@2.144.6...@awes-io/ui@2.144.7) (2026-04-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **aw-tel:** ensure cursor position set on all devices ([536bda4](https://github.com/awes-io/client/commit/536bda41daf7723fee8cb0f64fae7016aa345389))
|
|
12
|
+
* aw-code fileds out of range fixed ([74ac885](https://github.com/awes-io/client/commit/74ac8855b9afab80c21a5db18a6bae5536213b50))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [2.144.6](https://github.com/awes-io/client/compare/@awes-io/ui@2.144.5...@awes-io/ui@2.144.6) (2026-03-28)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -325,6 +325,10 @@ export default {
|
|
|
325
325
|
p++
|
|
326
326
|
}
|
|
327
327
|
$event.target.setSelectionRange(p, p)
|
|
328
|
+
// next line ensures proper position and fixes ignored setting position on several devices
|
|
329
|
+
setTimeout(() => {
|
|
330
|
+
$event.target.setSelectionRange(p, p)
|
|
331
|
+
}, 0)
|
|
328
332
|
})
|
|
329
333
|
}
|
|
330
334
|
},
|
|
@@ -534,6 +538,10 @@ export default {
|
|
|
534
538
|
selectionEnd > firstDashIndex)
|
|
535
539
|
) {
|
|
536
540
|
inputEl.setSelectionRange(firstDashIndex, firstDashIndex)
|
|
541
|
+
// next line ensures proper position and fixes ignored setting position on several devices
|
|
542
|
+
setTimeout(() => {
|
|
543
|
+
inputEl.setSelectionRange(firstDashIndex, firstDashIndex)
|
|
544
|
+
}, 0)
|
|
537
545
|
}
|
|
538
546
|
}
|
|
539
547
|
}
|
|
@@ -214,11 +214,13 @@ export default {
|
|
|
214
214
|
|
|
215
215
|
setTimeout(() => {
|
|
216
216
|
const field = this.$refs.fields[
|
|
217
|
-
clamp(0, this.length, value.length)
|
|
217
|
+
clamp(0, this.length - 1, value.length)
|
|
218
218
|
]
|
|
219
219
|
|
|
220
|
-
field
|
|
221
|
-
|
|
220
|
+
if (field) {
|
|
221
|
+
field.focus()
|
|
222
|
+
field.setSelectionRange(MAX_LENGTH, MAX_LENGTH)
|
|
223
|
+
}
|
|
222
224
|
}, 10)
|
|
223
225
|
}
|
|
224
226
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.144.
|
|
3
|
+
"version": "2.144.7",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"peerDependencies": {
|
|
117
117
|
"nuxt": "^2.18.1"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "c1b618630916542d32561ad147d5475d0fb5c913"
|
|
120
120
|
}
|