react-dockable-desktop 5.3.2 → 5.3.4

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/dist/styles.css CHANGED
@@ -2202,8 +2202,22 @@ html.rdd-no-animations [class*="rdd-"]::after {
2202
2202
  }
2203
2203
 
2204
2204
  /* Side Drawer Panels */
2205
+ /* position: fixed (not absolute) is deliberate: it anchors the panel to the
2206
+ viewport directly, matching .rdd-modal-overlay's own position: fixed. A
2207
+ position: absolute panel resolves its containing block against whatever
2208
+ position: relative/absolute ancestor the consumer happens to have between
2209
+ it and the document (per the documented "mount as a sibling of
2210
+ WindowManager" pattern) — and while off-screen mid-slide-in (a pure
2211
+ transform, not a visibility change), it then contributes real scrollable
2212
+ overflow to THAT ancestor, which the browser auto-scrolls on focus and then
2213
+ continuously re-clamps in lockstep with the animation, visibly dragging the
2214
+ ancestor's entire content (the whole workspace) left/right and back over
2215
+ the whole animation — not window/document, so no amount of watching
2216
+ window.scrollX/scrollY (an earlier fix here, since reverted) can catch or
2217
+ correct it. position: fixed removes the panel from that ancestor's overflow
2218
+ calculation entirely, the same way it already does for modals. */
2205
2219
  .rdd-side-panel {
2206
- position: absolute;
2220
+ position: fixed;
2207
2221
  top: 0;
2208
2222
  bottom: 0;
2209
2223
  width: 400px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dockable-desktop",
3
- "version": "5.3.2",
3
+ "version": "5.3.4",
4
4
  "description": "A premium, state-of-the-art window manager and dockable layout engine for React. Supports fluid grid splits, tabbed groups, floating resizable windows, zero-unmount state preservation, context menus, and internationalization.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",