@yogiswara/honcho-editor-ui 3.2.8 → 3.3.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.
|
@@ -62,7 +62,7 @@ export default function HImageEditorMobile(props) {
|
|
|
62
62
|
pt: '5px',
|
|
63
63
|
pb: '12px',
|
|
64
64
|
cursor: 'ns-resize',
|
|
65
|
-
|
|
65
|
+
touchAction: 'none',
|
|
66
66
|
}, children: _jsx(Box, { sx: { width: 40, height: 5, borderRadius: '2.5px', backgroundColor: 'rgba(255, 255, 255, 0.5)' } }) }), _jsx(Box, { ref: props.contentRef, sx: {
|
|
67
67
|
paddingX: "8px",
|
|
68
68
|
paddingBottom: 3,
|
|
@@ -72,7 +72,7 @@ export default function HImageEditorMobile(props) {
|
|
|
72
72
|
scrollbarWidth: 'none',
|
|
73
73
|
userSelect: 'none',
|
|
74
74
|
'&::-webkit-scrollbar': { display: 'none' },
|
|
75
|
-
touchAction: '
|
|
75
|
+
touchAction: 'pan-y'
|
|
76
76
|
}, children: renderPanelContent() })] })), currentSubTabs && (_jsx(Paper, { sx: {
|
|
77
77
|
backgroundColor: colors.onBackground,
|
|
78
78
|
paddingTop: "10px",
|
|
@@ -122,7 +122,6 @@ export default function HSliderColorMobile(props) {
|
|
|
122
122
|
left: 0,
|
|
123
123
|
right: 0,
|
|
124
124
|
zIndex: 1,
|
|
125
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
126
125
|
userSelect: 'none',
|
|
127
126
|
} }), _jsx(Slider, { sx: {
|
|
128
127
|
width: "100%",
|
|
@@ -161,7 +160,6 @@ export default function HSliderColorMobile(props) {
|
|
|
161
160
|
left: 0,
|
|
162
161
|
right: 0,
|
|
163
162
|
zIndex: 1,
|
|
164
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
165
163
|
userSelect: 'none',
|
|
166
164
|
} }), _jsx(Slider, { sx: {
|
|
167
165
|
width: "100%",
|
|
@@ -200,7 +198,6 @@ export default function HSliderColorMobile(props) {
|
|
|
200
198
|
left: 0,
|
|
201
199
|
right: 0,
|
|
202
200
|
zIndex: 1,
|
|
203
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
204
201
|
userSelect: 'none',
|
|
205
202
|
} }), _jsx(Slider, { sx: {
|
|
206
203
|
width: "100%",
|
|
@@ -239,7 +236,6 @@ export default function HSliderColorMobile(props) {
|
|
|
239
236
|
left: 0,
|
|
240
237
|
right: 0,
|
|
241
238
|
zIndex: 1,
|
|
242
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
243
239
|
userSelect: 'none',
|
|
244
240
|
} }), _jsx(Slider, { sx: {
|
|
245
241
|
width: "100%",
|
|
@@ -104,7 +104,6 @@ export default function HSliderLightMobile(props) {
|
|
|
104
104
|
left: 0,
|
|
105
105
|
right: 0,
|
|
106
106
|
zIndex: 1,
|
|
107
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
108
107
|
userSelect: 'none',
|
|
109
108
|
} }), _jsx(Slider, { sx: {
|
|
110
109
|
width: "100%",
|
|
@@ -144,7 +143,6 @@ export default function HSliderLightMobile(props) {
|
|
|
144
143
|
left: 0,
|
|
145
144
|
right: 0,
|
|
146
145
|
zIndex: 1,
|
|
147
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
148
146
|
userSelect: 'none',
|
|
149
147
|
} }), _jsx(Slider, { sx: {
|
|
150
148
|
width: "100%",
|
|
@@ -184,7 +182,6 @@ export default function HSliderLightMobile(props) {
|
|
|
184
182
|
left: 0,
|
|
185
183
|
right: 0,
|
|
186
184
|
zIndex: 1,
|
|
187
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
188
185
|
userSelect: 'none',
|
|
189
186
|
} }), _jsx(Slider, { sx: {
|
|
190
187
|
width: "100%",
|
|
@@ -224,7 +221,6 @@ export default function HSliderLightMobile(props) {
|
|
|
224
221
|
left: 0,
|
|
225
222
|
right: 0,
|
|
226
223
|
zIndex: 1,
|
|
227
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
228
224
|
userSelect: 'none',
|
|
229
225
|
} }), _jsx(Slider, { sx: {
|
|
230
226
|
width: "100%",
|
|
@@ -264,7 +260,6 @@ export default function HSliderLightMobile(props) {
|
|
|
264
260
|
left: 0,
|
|
265
261
|
right: 0,
|
|
266
262
|
zIndex: 1,
|
|
267
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
268
263
|
userSelect: 'none',
|
|
269
264
|
} }), _jsx(Slider, { sx: {
|
|
270
265
|
width: "100%",
|
|
@@ -304,7 +299,6 @@ export default function HSliderLightMobile(props) {
|
|
|
304
299
|
left: 0,
|
|
305
300
|
right: 0,
|
|
306
301
|
zIndex: 1,
|
|
307
|
-
touchAction: 'none', // ✅ 1. Add this to make double-tap reliable on mobile
|
|
308
302
|
userSelect: 'none',
|
|
309
303
|
} }), _jsx(Slider, { sx: {
|
|
310
304
|
width: "100%",
|