bfg-common 1.5.349 → 1.5.351

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.
@@ -118,12 +118,16 @@ const setResizeObserve = (): void => {
118
118
 
119
119
  new ResizeObserver(outputSize).observe(el)
120
120
  }
121
+ onMounted(() => {
122
+ id.value = `nav-bar${useUniqueId()}`
123
+ })
121
124
  watch(
122
125
  () => props.items,
123
126
  () => {
124
- setTriggerElementWidth()
125
- setResizeObserve()
126
- id.value = `nav-bar${useUniqueId()}`
127
+ setTimeout(() => {
128
+ setResizeObserve()
129
+ setTriggerElementWidth()
130
+ }, 500)
127
131
  },
128
132
  { immediate: true, deep: true }
129
133
  )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.349",
4
+ "version": "1.5.351",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",