wave-ui 2.28.0 → 2.28.1

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.
@@ -5725,7 +5725,8 @@ const _sfc_main$e = {
5725
5725
  },
5726
5726
  updateSlider(domLookup = true) {
5727
5727
  if (domLookup) {
5728
- this.activeTabEl = this.$refs["tabs-bar"].querySelector(".w-tabs__bar-item--active");
5728
+ const ref = this.$refs["tabs-bar"];
5729
+ this.activeTabEl = ref && ref.querySelector(".w-tabs__bar-item--active");
5729
5730
  }
5730
5731
  if (!this.fillBar && this.activeTabEl) {
5731
5732
  const { left, width } = this.activeTabEl.getBoundingClientRect();