@primer/view-components 0.5.0 → 0.5.1-rc.b99721c0
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.
|
@@ -101,9 +101,9 @@ export class ModalDialogElement extends HTMLElement {
|
|
|
101
101
|
return;
|
|
102
102
|
this.setAttribute('open', '');
|
|
103
103
|
this.setAttribute('aria-disabled', 'false');
|
|
104
|
-
(_a = __classPrivateFieldGet(this, _ModalDialogElement_instances, "a", _ModalDialogElement_overlayBackdrop_get)) === null || _a === void 0 ? void 0 : _a.classList.remove('Overlay--hidden');
|
|
105
104
|
document.body.style.paddingRight = `${window.innerWidth - document.body.clientWidth}px`;
|
|
106
105
|
document.body.style.overflow = 'hidden';
|
|
106
|
+
(_a = __classPrivateFieldGet(this, _ModalDialogElement_instances, "a", _ModalDialogElement_overlayBackdrop_get)) === null || _a === void 0 ? void 0 : _a.classList.remove('Overlay--hidden');
|
|
107
107
|
if (__classPrivateFieldGet(this, _ModalDialogElement_focusAbortController, "f").signal.aborted) {
|
|
108
108
|
__classPrivateFieldSet(this, _ModalDialogElement_focusAbortController, new AbortController(), "f");
|
|
109
109
|
}
|
package/package.json
CHANGED