@signal9/era-ui 1.12.0 → 1.12.1
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.
|
@@ -274,9 +274,11 @@
|
|
|
274
274
|
'group absolute isolate flex flex-col rounded-(--era-rd-lg) bg-(--era-surface-bg-elevated) shadow-(--era-shadow-lg) glass-blur',
|
|
275
275
|
// Auto-size to content until an explicit size is set (by the grip or a preset).
|
|
276
276
|
size ? '' : 'w-max',
|
|
277
|
-
// While Ctrl is held the whole pane is grabbable
|
|
278
|
-
//
|
|
279
|
-
|
|
277
|
+
// While Ctrl is held the whole pane is grabbable: a grab cursor hints it, and
|
|
278
|
+
// select-none stops a press on text content from starting a selection that
|
|
279
|
+
// would fight the drag (the handle bar already has select-none; the content
|
|
280
|
+
// doesn't). Resize handles keep their own resize cursors (more specific).
|
|
281
|
+
ctrlHeld && !resizing ? 'cursor-grab select-none' : '',
|
|
280
282
|
// Promote to its own compositor layer only while dragging, so moves
|
|
281
283
|
// repaint the layer instead of the page; dropped back to auto at idle.
|
|
282
284
|
// neodrag animates the `translate` CSS property (not `transform`), so the
|