Skip to content

Commit

Permalink
Fix bad UX
Browse files Browse the repository at this point in the history
  • Loading branch information
ev-sc committed Dec 7, 2024
1 parent 0c16946 commit c055fbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nextjs/src/app/reports/[id]/(components)/MarkerPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ const MarkerPopup: React.FC = () => {
latitude={(selectedSourceMarker.geometry as Point)?.coordinates[1] || 0}
closeOnClick={false}
className="text-black [&>.mapboxgl-popup-content]:p-0 [&>.mapboxgl-popup-content]:overflow-auto w-[150px] [&>.mapboxgl-popup-tip]:!border-t-meepGray-200"
closeButton={false}
closeOnMove={false}
closeButton={true}
closeOnMove={true}
onClose={() => setSelectedSourceMarker(null)}
anchor="bottom"
offset={[0, -35] as any}
>
Expand Down

0 comments on commit c055fbd

Please sign in to comment.