@brightspace-ui/core 2.23.1 → 2.23.2

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.
@@ -17,7 +17,9 @@ window.D2L.DialogMixin = window.D2L.DialogMixin || {};
17
17
 
18
18
  // while implemented in Webkit, native <dialog> focus mangement across slotted content is buggy
19
19
  // https://bugs.webkit.org/show_bug.cgi?id=233320
20
- window.D2L.DialogMixin.hasNative = (window.HTMLDialogElement !== undefined)
20
+ // starting in Chrome 102, all elements inside <dialog>s that are inside shadow roots have null offsetParent
21
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=1331803
22
+ window.D2L.DialogMixin.hasNative = false && (window.HTMLDialogElement !== undefined)
21
23
  && (navigator.vendor && navigator.vendor.toLowerCase().indexOf('apple') === -1);
22
24
  if (window.D2L.DialogMixin.preferNative === undefined) {
23
25
  window.D2L.DialogMixin.preferNative = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.23.1",
3
+ "version": "2.23.2",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",