@syncfusion/ej2-navigations 33.1.45 → 33.1.46

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.
@@ -9277,12 +9277,20 @@ let Tab = class Tab extends Component {
9277
9277
  }
9278
9278
  if (properties[j] === 'cssClass') {
9279
9279
  if (!isNullOrUndefined(hdrItem)) {
9280
- hdrItem.classList.remove(oldVal);
9281
- hdrItem.classList.add(newVal);
9280
+ if (!isNullOrUndefined(oldVal) && oldVal !== '') {
9281
+ hdrItem.classList.remove(oldVal);
9282
+ }
9283
+ if (!isNullOrUndefined(newVal) && newVal !== '') {
9284
+ hdrItem.classList.add(newVal);
9285
+ }
9282
9286
  }
9283
9287
  if (!isNullOrUndefined(cntItem)) {
9284
- cntItem.classList.remove(oldVal);
9285
- cntItem.classList.add(newVal);
9288
+ if (!isNullOrUndefined(oldVal) && oldVal !== '') {
9289
+ cntItem.classList.remove(oldVal);
9290
+ }
9291
+ if (!isNullOrUndefined(newVal) && newVal !== '') {
9292
+ cntItem.classList.add(newVal);
9293
+ }
9286
9294
  }
9287
9295
  }
9288
9296
  if (properties[j] === 'disabled') {