@bildvitta/quasar-ui-asteroid 3.16.0-beta.1 → 3.16.0-beta.2

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.16.0-beta.1",
4
+ "version": "3.16.0-beta.2",
5
5
  "author": "Bild & Vitta <systemteam@bild.com.br>",
6
6
  "license": "MIT",
7
7
  "main": "dist/asteroid.cjs.min.js",
@@ -106,10 +106,12 @@ onUnmounted(() => {
106
106
  * Define o estilo do iframe de acordo com a posição do "chatContent" dentro
107
107
  * do QMenu.
108
108
  */
109
- function setIframeStyle () {
109
+ async function setIframeStyle () {
110
+ await nextTick()
111
+
110
112
  const iframe = getIframe()
111
113
 
112
- if (!iframe) return
114
+ if (!iframe || !chatContent.value) return
113
115
 
114
116
  const { bottom, left, top } = chatContent.value.getBoundingClientRect()
115
117