fix: 滚动内容与滚动条的层级问题

This commit is contained in:
unanmed 2025-02-22 15:05:32 +08:00
parent d6e0de28ab
commit 1e8600c080

View File

@ -455,6 +455,7 @@ export const Scroll = defineComponent<ScrollProps, {}, string, ScrollSlots>(
ref={content}
onDown={down}
render={renderContent}
zIndex={0}
>
{slots.default?.()}
</container-custom>
@ -465,6 +466,7 @@ export const Scroll = defineComponent<ScrollProps, {}, string, ScrollSlots>(
render={drawScroll}
onDown={downScroll}
onUp={upScroll}
zIndex={10}
></sprite>
</container>
);