sas-ui 0.8.158 → 0.8.159

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.
@@ -4491,7 +4491,9 @@ let SasSelect = class {
4491
4491
  // prevents dropdown container from closing when user clicks/holds
4492
4492
  // scroll bar with cursor
4493
4493
  listElement.addEventListener("mousedown", function (event) {
4494
- event.preventDefault();
4494
+ if (event.target.tagName === "SAS-LIST") {
4495
+ event.preventDefault();
4496
+ }
4495
4497
  });
4496
4498
  }
4497
4499
  // has pre select element
@@ -159,7 +159,9 @@ export class SasSelect {
159
159
  // prevents dropdown container from closing when user clicks/holds
160
160
  // scroll bar with cursor
161
161
  listElement.addEventListener("mousedown", function (event) {
162
- event.preventDefault();
162
+ if (event.target.tagName === "SAS-LIST") {
163
+ event.preventDefault();
164
+ }
163
165
  });
164
166
  }
165
167
  // has pre select element
@@ -12373,7 +12373,9 @@ let SasSelect$1 = class extends H {
12373
12373
  // prevents dropdown container from closing when user clicks/holds
12374
12374
  // scroll bar with cursor
12375
12375
  listElement.addEventListener("mousedown", function (event) {
12376
- event.preventDefault();
12376
+ if (event.target.tagName === "SAS-LIST") {
12377
+ event.preventDefault();
12378
+ }
12377
12379
  });
12378
12380
  }
12379
12381
  // has pre select element
@@ -4487,7 +4487,9 @@ let SasSelect = class {
4487
4487
  // prevents dropdown container from closing when user clicks/holds
4488
4488
  // scroll bar with cursor
4489
4489
  listElement.addEventListener("mousedown", function (event) {
4490
- event.preventDefault();
4490
+ if (event.target.tagName === "SAS-LIST") {
4491
+ event.preventDefault();
4492
+ }
4491
4493
  });
4492
4494
  }
4493
4495
  // has pre select element