PluginProbe
Extendify / 3.2.2
Extendify v3.2.2
3.2.2 3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 All 128 releases
← All changes | src/QuickEdit/lib/modal-root.js +1 -6 3.1.4 → 3.2.2 View file →
@@ -3,14 +3,9 @@
3 3 import { createRoot } from '@wordpress/element';
4 4
5 5 const ROOT_ID = 'extendify-quick-edit-modal-root';
6 6
7 -// Override @wordpress/components Modal's default bodyOpenClassName ("modal-open")
8 -// so our modals don't trip the wp.media-detection rule in quick-edit.css
9 -// (`body.modal-open .components-modal__frame:has(.extendify-quick-edit-modal)`).
10 -// Round-6 keyed that rule off `body.modal-open` thinking it was a wp.media-only
11 -// signal; @wordpress/components Modal also adds it on mount, so every QE modal
12 -// was hiding itself on first open.
7 +// Modal's default "modal-open" trips quick-edit.css's wp.media hide rule.
13 8 export const QE_MODAL_BODY_OPEN_CLASS = 'extendify-quick-edit-modal-open';
14 9
15 10 let modalRoot = null;
16 11 let reactRoot = null;