feat: 调整事件详情滑动不触发外部页面滑动

This commit is contained in:
zdl
2025-11-07 15:11:18 +08:00
parent b0b42e9d3d
commit fef9087c47
2 changed files with 3 additions and 1 deletions

View File

@@ -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',
}, },

View File

@@ -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': {