File tree Expand file tree Collapse file tree
src/frontend/src/Components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1131,7 +1131,13 @@ export default function DriveBCMap(props) {
11311131 </ button >
11321132 }
11331133
1134- < div className = "panel-content" >
1134+ < div
1135+ className = "panel-content"
1136+ onPointerDown = { ( e ) => {
1137+ if ( e . target . closest ( '.popup__content' ) ) {
1138+ e . stopPropagation ( ) ;
1139+ }
1140+ } } >
11351141 < div className = "drawer-drag-handle" > </ div >
11361142
11371143 { renderPanel (
Original file line number Diff line number Diff line change 498498 .popup__content {
499499 overflow-y : scroll ;
500500 height : calc (var (--drawer-snap-point , 100% ) - 52px );
501+ touch-action : pan-y ;
501502 }
502503 }
503504
Original file line number Diff line number Diff line change @@ -536,8 +536,8 @@ export function ReportMap(props) {
536536 >
537537 < Drawer . Portal container = { mapElement . current } >
538538 < Drawer . Overlay className = "drawer-overlay" />
539- < Drawer . Content
540- className = { `drawer-content ${ snap === '80%' ? 'snap-80' : '' } ` }
539+ < Drawer . Content
540+ className = { `drawer-content ${ snap === '80%' ? 'snap-80' : '' } ` }
541541 ref = { drawerRef } >
542542 < button
543543 className = "close-panel"
@@ -550,7 +550,13 @@ export function ReportMap(props) {
550550 } } >
551551 < FontAwesomeIcon icon = { faXmark } />
552552 </ button >
553- < div className = "panel-content" >
553+ < div
554+ className = "panel-content"
555+ onPointerDown = { ( e ) => {
556+ if ( e . target . closest ( '.popup__content' ) ) {
557+ e . stopPropagation ( ) ;
558+ }
559+ } } >
554560 < div className = "drawer-drag-handle" > </ div >
555561 { openPanel && renderPanel ( ) }
556562 </ div >
Original file line number Diff line number Diff line change 573573
574574 .popup__content {
575575 overflow-y : scroll ;
576+ touch-action : pan-y ;
576577 }
577578 }
578579
You can’t perform that action at this time.
0 commit comments