@carbon/charts-vue 0.53.2 → 0.53.3

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/charts-vue.umd.js CHANGED
@@ -38613,6 +38613,9 @@ var toolbar_Toolbar = /** @class */ (function (_super) {
38613
38613
  var isDataLoading = tools_Tools.getProperty(this.getOptions(), 'data', 'loading');
38614
38614
  if (isDataLoading) {
38615
38615
  container.html('');
38616
+ // Set overflow menu to null if data is loading
38617
+ // This will render in a new overflow menu when data is done loading
38618
+ this.overflowMenu = null;
38616
38619
  }
38617
38620
  else {
38618
38621
  if (!this.overflowMenu) {
@@ -38706,6 +38709,9 @@ var toolbar_Toolbar = /** @class */ (function (_super) {
38706
38709
  };
38707
38710
  // show/hide overflow menu
38708
38711
  Toolbar.prototype.updateOverflowMenu = function (show) {
38712
+ if (!this.overflowMenu) {
38713
+ return;
38714
+ }
38709
38715
  this.overflowMenu.classed('is-open', show);
38710
38716
  // update overflow button background
38711
38717
  if (this.overflowButton) {