aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-01-14 11:33:07 -0800
committerAnton Tananaev <anton@traccar.org>2023-01-14 11:33:07 -0800
commit117ded36572449077da6176754f29ea510bec900 (patch)
treed027646d247da96a2f023e43652c60c480e7b1a4
parent9216b5f899540f47369ba624bcdc37574e09965a (diff)
downloadtrackermap-web-117ded36572449077da6176754f29ea510bec900.tar.gz
trackermap-web-117ded36572449077da6176754f29ea510bec900.tar.bz2
trackermap-web-117ded36572449077da6176754f29ea510bec900.zip
Fix mouse events (fix #1072)
-rw-r--r--modern/src/main/MainPage.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js
index df1c8734..1040002a 100644
--- a/modern/src/main/MainPage.js
+++ b/modern/src/main/MainPage.js
@@ -22,6 +22,7 @@ const useStyles = makeStyles((theme) => ({
height: '100%',
},
sidebar: {
+ pointerEvents: 'none',
display: 'flex',
flexDirection: 'column',
[theme.breakpoints.up('md')]: {
@@ -39,9 +40,11 @@ const useStyles = makeStyles((theme) => ({
},
},
header: {
+ pointerEvents: 'auto',
zIndex: 6,
},
footer: {
+ pointerEvents: 'auto',
zIndex: 5,
},
middle: {
@@ -49,9 +52,11 @@ const useStyles = makeStyles((theme) => ({
display: 'grid',
},
contentMap: {
+ pointerEvents: 'auto',
gridArea: '1 / 1',
},
contentList: {
+ pointerEvents: 'auto',
gridArea: '1 / 1',
zIndex: 4,
},