feat: 调整事件详情滑动不触发外部页面滑动
This commit is contained in:
@@ -24,10 +24,12 @@ const EventDetailScrollPanel = ({
|
|||||||
<Box
|
<Box
|
||||||
pl={2}
|
pl={2}
|
||||||
position="relative"
|
position="relative"
|
||||||
|
data-detail-panel-container="true"
|
||||||
sx={{
|
sx={{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
overflowX: 'hidden',
|
overflowX: 'hidden',
|
||||||
|
overscrollBehavior: 'contain',
|
||||||
'&::-webkit-scrollbar': {
|
'&::-webkit-scrollbar': {
|
||||||
width: '3px',
|
width: '3px',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ const VerticalModeLayout = ({
|
|||||||
minWidth={0}
|
minWidth={0}
|
||||||
overflowY="auto"
|
overflowY="auto"
|
||||||
h="100%"
|
h="100%"
|
||||||
data-scroll-container="true"
|
data-event-list-container="true"
|
||||||
css={{
|
css={{
|
||||||
overscrollBehavior: 'contain',
|
overscrollBehavior: 'contain',
|
||||||
'&::-webkit-scrollbar': {
|
'&::-webkit-scrollbar': {
|
||||||
|
|||||||
Reference in New Issue
Block a user