sbuffkin_hexmaker/versions.json
isaprettycoolguy@protonmail.com d12cf38ceb fix: pin HexEditorModal to viewport on open (1.2.3)
makeDraggable previously used position: absolute with top/left 50%, which
relies on the nearest positioned ancestor being .modal-container. Any
plugin or theme that establishes a CSS containing block on an ancestor
(via transform/will-change/filter/contain) silently re-roots the modal
against that inner element, so it opens partway off-screen — as
reported in hexmaker#26.

Switch to position: fixed and compute the centered top/left in JS
against window.innerWidth/innerHeight, clamped 8px inside the viewport.
position: fixed bypasses most ancestor-containing-block issues; the JS
clamp catches the remaining edge cases (transformed ancestors that also
hijack fixed positioning).

Drag listeners now bind to modalEl.ownerDocument so dragging works
correctly inside popout windows.
2026-06-17 10:26:30 -04:00

42 lines
No EOL
820 B
JSON

{
"0.1.0": "1.12.0",
"1.0.0": "1.12.0",
"1.0.1": "1.12.0",
"1.0.2": "1.12.0",
"1.0.3": "1.12.0",
"1.0.4": "1.12.0",
"1.0.5": "1.12.0",
"1.0.6": "1.12.0",
"1.0.18": "1.12.0",
"1.0.19": "1.12.0",
"1.0.20": "1.12.0",
"1.0.21": "1.12.0",
"1.0.22": "1.12.0",
"1.0.23": "1.12.0",
"1.0.24": "1.12.0",
"1.0.25": "1.12.0",
"1.0.26": "1.12.0",
"1.0.27": "1.12.0",
"1.0.28": "1.12.0",
"1.0.29": "1.12.0",
"1.1.0": "1.12.0",
"1.1.1": "1.12.0",
"1.1.2": "1.12.0",
"1.1.3": "1.12.0",
"1.1.4": "1.12.0",
"1.1.5": "1.12.0",
"1.1.6": "1.12.0",
"1.1.7": "1.12.0",
"1.1.8": "1.12.0",
"1.1.9": "1.12.0",
"1.1.10": "1.12.0",
"1.1.11": "1.12.0",
"1.1.12": "1.12.0",
"1.1.13": "1.12.0",
"1.1.14": "1.12.0",
"1.1.15": "1.12.0",
"1.2.0": "1.12.0",
"1.2.1": "1.12.0",
"1.2.2": "1.12.0",
"1.2.3": "1.12.0"
}