@mintplayer/ng-bootstrap 21.23.0 → 21.23.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.
@@ -156,6 +156,7 @@ const styles = unsafeCSS(`:host {
156
156
  gap: 0.5rem;
157
157
  padding: 0.35rem 0.75rem;
158
158
  cursor: move;
159
+ touch-action: none;
159
160
  background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb), 0.15), rgba(var(--bs-primary-rgb), 0.05));
160
161
  border-bottom: 1px solid var(--bs-primary-border-subtle);
161
162
  user-select: none;
@@ -184,6 +185,7 @@ const styles = unsafeCSS(`:host {
184
185
  z-index: 2;
185
186
  background: rgba(var(--bs-primary-rgb), 0.1);
186
187
  transition: background 120ms ease;
188
+ touch-action: none;
187
189
  }
188
190
 
189
191
  .dock-floating__resizer:hover,
@@ -274,6 +276,7 @@ const styles = unsafeCSS(`:host {
274
276
  box-shadow: var(--bs-box-shadow-sm);
275
277
  cursor: all-scroll;
276
278
  pointer-events: auto;
279
+ touch-action: none;
277
280
  opacity: 0.45;
278
281
  transition: background 120ms ease, border-color 120ms ease, opacity 120ms ease;
279
282
  }
@@ -314,6 +317,7 @@ const styles = unsafeCSS(`:host {
314
317
  display: block;
315
318
  padding: 0.5rem 1rem;
316
319
  margin: -0.5rem -1rem;
320
+ touch-action: none;
317
321
  }
318
322
 
319
323
  .dock-tab:active {
@@ -1664,6 +1668,11 @@ class MintDockManagerElement extends LitElement {
1664
1668
  this.captureTabDragMetrics(event, stack);
1665
1669
  this.armPaneDragGesture(event, this.clonePath(location), paneName, stack);
1666
1670
  event.stopPropagation();
1671
+ // Do NOT call event.preventDefault() here. On touch, that suppresses
1672
+ // the synthesized click on the parent .nav-link button — which is how
1673
+ // mp-tab-control fires `tab-activate`. `touch-action: none` on
1674
+ // `.dock-tab` already prevents the browser from arbitrating the
1675
+ // gesture for scroll, so preventDefault would be redundant + harmful.
1667
1676
  });
1668
1677
  // Content wrapper — projected via mp-tab-control's `${tabId}-content`
1669
1678
  // slot only when this tab is active. Holds the dock manager's per-pane