@bildvitta/quasar-ui-asteroid 3.17.0-beta.31 → 3.17.0-beta.32

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bildvitta/quasar-ui-asteroid",
3
3
  "description": "Asteroid",
4
- "version": "3.17.0-beta.31",
4
+ "version": "3.17.0-beta.32",
5
5
  "author": "Bild & Vitta <systemteam@bild.com.br>",
6
6
  "license": "MIT",
7
7
  "main": "dist/asteroid.cjs.min.js",
@@ -41,6 +41,7 @@ import { baseProps } from '../../shared/badge-config'
41
41
 
42
42
  import {
43
43
  computed,
44
+ nextTick,
44
45
  onMounted,
45
46
  onUnmounted,
46
47
  ref,
@@ -225,7 +226,9 @@ function useTruncate ({ parent, props, hasBadges }) {
225
226
  watch(() => props.maxWidth, truncateText)
226
227
 
227
228
  // functions
228
- function truncateText () {
229
+ async function truncateText () {
230
+ await nextTick()
231
+
229
232
  // Se tiver badges, então não pode ser feito calculo de width.
230
233
  if (hasBadges.value) return
231
234