@fluentui/web-components 3.2.0 → 3.2.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.
@@ -11969,14 +11969,22 @@ class BaseTablist extends FASTElement {
11969
11969
  }
11970
11970
  /** @internal */
11971
11971
  handleFocusIn(event) {
11972
- this.activeid = event.target.id;
11972
+ const target = event.target;
11973
+ if (!isTab(target) || target.disabled) {
11974
+ return;
11975
+ }
11976
+ this.activeid = target.id;
11973
11977
  }
11974
11978
  /** @internal */
11975
11979
  handleClick(event) {
11976
11980
  if (event.isTrusted) {
11977
11981
  return;
11978
11982
  }
11979
- this.activeid = event.target.id;
11983
+ const target = event.target;
11984
+ if (!isTab(target) || target.disabled) {
11985
+ return;
11986
+ }
11987
+ this.activeid = target.id;
11980
11988
  }
11981
11989
  changeTab(oldId, newId) {
11982
11990
  const rootNode = this.getRootNode();