File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed
Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,6 @@ const SideMain = ({
170170 className
171171 ) }
172172 style = { { height : isMobile && ! fullHeight ? `${ curHeight } %` : "" } }
173- onPointerDown = { dragStart }
174173 >
175174 < button
176175 className = "absolute top-3 -right-12 flex items-center justify-center
@@ -193,17 +192,15 @@ const SideMain = ({
193192 />
194193 ) }
195194
196- { ! fullHeight && (
195+ { ! fullHeight && dragable && (
197196 < div
198- className = "sticky top-0 py-3 bg-white dark:bg-black z-20 rounded-t-3xl web:hidden"
199- data-type = "scoroll-status-bar"
197+ className = "sticky top-0 py-3 bg-white dark:bg-black z-20 rounded-t-3xl web:hidden cursor-grab active:cursor-grabbing"
198+ onPointerDown = { dragStart }
199+ role = "button"
200+ aria-label = "드로워 높이 조절"
201+ tabIndex = { 0 }
200202 >
201- < div
202- className = { `w-1/6 h-1 mx-auto rounded-lg ${
203- ! dragable ? "bg-white dark:bg-black" : "bg-grey"
204- } `}
205- data-type = "scoroll-status-bar"
206- />
203+ < div className = "w-1/6 h-1 mx-auto rounded-lg bg-grey" />
207204 </ div >
208205 ) }
209206
@@ -219,9 +216,6 @@ const SideMain = ({
219216 deviceType === "ios-mobile-app" ? "pb-20" : "" ,
220217 bodyStyle
221218 ) }
222- onPointerDown = { ( e ) => {
223- e . stopPropagation ( ) ;
224- } }
225219 onScroll = { onScroll }
226220 >
227221 { children }
You can’t perform that action at this time.
0 commit comments