@ninebone/datagrid 0.0.13 → 0.0.15

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.
@@ -1386,6 +1386,39 @@ nine-table-sheet.hscroll-visible {
1386
1386
  }
1387
1387
  }
1388
1388
 
1389
+ @media (hover: none) and (pointer: coarse) {
1390
+
1391
+ nine-table-sheet.vscroll-visible {
1392
+ grid-template-columns: 1fr;
1393
+ nine-table-vscrollbar {
1394
+ display: none;
1395
+ }
1396
+ }
1397
+ nine-table-sheet.hscroll-visible {
1398
+ grid-template-rows: 1fr;
1399
+
1400
+ nine-table-hscrollbar, .scroll-edge {
1401
+ display: none;
1402
+ }
1403
+ }
1404
+
1405
+ /* Hide custom scrollbar elements on touch-based mobile devices */
1406
+ nine-table-vscrollbar,
1407
+ nine-table-hscrollbar,
1408
+ .scroll-edge {
1409
+ display: none;
1410
+ }
1411
+
1412
+ /* Optional: Hide native scrollbars visually while maintaining smooth touch/momentum scrolling */
1413
+ .ng-sheet-body {
1414
+ scrollbar-width: none; /* Firefox */
1415
+ -ms-overflow-style: none; /* IE/Edge */
1416
+ }
1417
+ .ng-sheet-body::-webkit-scrollbar {
1418
+ display: none; /* Chrome/Safari/Opera */
1419
+ }
1420
+ }
1421
+
1389
1422
 
1390
1423
  nine-table-sheet {
1391
1424
  --sheet-bg: #ffffff;