@abstraks-dev/ui-library 1.2.0 → 1.2.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.
@@ -9,6 +9,12 @@
9
9
  visibility: hidden;
10
10
  z-index: $z-index-overlay;
11
11
  position: fixed;
12
+
13
+ /* iOS Safari fixed positioning fixes */
14
+ -webkit-transform: translateZ(0);
15
+ transform: translateZ(0);
16
+ -webkit-backface-visibility: hidden;
17
+ backface-visibility: hidden;
12
18
  }
13
19
 
14
20
  .overlay {
@@ -82,6 +88,11 @@
82
88
  background: #ffffff;
83
89
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
84
90
 
91
+ /* Additional iOS Safari fixes */
92
+ -webkit-transform: translateZ(0);
93
+ transform: translateZ(0);
94
+ will-change: transform;
95
+
85
96
  /* Mobile-first responsive design */
86
97
  @media #{$medium} {
87
98
  width: 60%;
@@ -183,6 +194,12 @@
183
194
  overflow-y: auto;
184
195
  flex: 1;
185
196
 
197
+ /* iOS Safari smooth scrolling */
198
+ -webkit-overflow-scrolling: touch;
199
+
200
+ /* Prevent bounce scrolling on iOS */
201
+ overscroll-behavior: contain;
202
+
186
203
  /* Custom scrollbar for better UX */
187
204
  &::-webkit-scrollbar {
188
205
  width: 6px;
@@ -332,3 +349,13 @@
332
349
  white-space: nowrap !important;
333
350
  border: 0 !important;
334
351
  }
352
+
353
+ /* Body scroll lock when menu is open */
354
+ body.side-menu-open {
355
+ overflow: hidden;
356
+ position: fixed;
357
+ width: 100%;
358
+
359
+ /* iOS Safari body scroll lock fixes */
360
+ -webkit-overflow-scrolling: touch;
361
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abstraks-dev/ui-library",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "User Interface library",
5
5
  "main": "dist/index.js",
6
6
  "files": [