@nativescript-community/ui-label 1.2.18 → 1.2.19

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,10 @@
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
+ ## [1.2.19](https://github.com/nativescript-community/ui-label/compare/v1.2.18...v1.2.19) (2023-01-17)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-label
9
+
6
10
  ## [1.2.18](https://github.com/nativescript-community/ui-label/compare/v1.2.17...v1.2.18) (2023-01-17)
7
11
 
8
12
  **Note:** Version bump only for package @nativescript-community/ui-label
package/label.ios.js CHANGED
@@ -301,7 +301,6 @@ export class Label extends LabelBase {
301
301
  if (textTransform !== 'none' && textTransform !== 'initial') {
302
302
  spanText = getTransformedText(spanText, textTransform);
303
303
  }
304
- spanStart += spanText.length;
305
304
  if (characterRange.location - 1 <= spanStart && characterRange.location - 1 + characterRange.length > spanStart) {
306
305
  const span = this.formattedText.spans.getItem(i);
307
306
  if (span && span.tappable) {
@@ -310,6 +309,7 @@ export class Label extends LabelBase {
310
309
  }
311
310
  break;
312
311
  }
312
+ spanStart += spanText.length;
313
313
  }
314
314
  return false;
315
315
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-label",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
4
4
  "description": "Alternative to the built-in NativeScript Label but with better performance and additional features such as HTML rendering and more.",
5
5
  "main": "./label",
6
6
  "sideEffects": false,
@@ -34,5 +34,5 @@
34
34
  "dependencies": {
35
35
  "@nativescript-community/text": "^1.5.9"
36
36
  },
37
- "gitHead": "ae294ad826343d7d82fae189b32a95f9ad14b4af"
37
+ "gitHead": "7ebfca2cd7bd3a360f58cba96c25739db916c79e"
38
38
  }