selective-ui 1.4.2 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "selective-ui",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "An overlay for the HTML select element.",
5
5
  "author": "Huỳnh Công Xuân Mai",
6
6
  "license": "MIT",
@@ -54,7 +54,8 @@
54
54
  border: 1px solid var(--seui-chkbox-checked-color);
55
55
  }
56
56
 
57
- .seui-option-view > label > div {
57
+ .seui-option-view > label > div,
58
+ .seui-option-view > label > div div {
58
59
  width: 100%;
59
60
  /* height: 100%; */
60
61
 
@@ -392,7 +392,7 @@ export class VirtualRecyclerView<
392
392
  );
393
393
 
394
394
  const clamped = Math.min(Math.max(0, centeredTarget), maxScroll);
395
- this.scrollEl.scrollTo({ top: clamped, behavior });
395
+ this.scrollEl.scrollTo?.({ top: clamped, behavior });
396
396
  }
397
397
 
398
398
  /**