Skip to content

[Bug Report] FloatingPanel 当内容可滚动时在 iOS 上会出现黑色背景 #13746

@oklch

Description

@oklch

重现链接

https://vant-ui.github.io/vant/mobile.html#/zh-CN/floating-panel

Vant 版本

4.9.21

描述一下你遇到的问题。

可能是 van-floating-panel__content 类里缺少了 -webkit-overflow-scrolling: touch;,会导致 iOS 滚动过程中出现渲染问题。

重现步骤

官网 FloatingPanel 的第一个例子,滚动到「A」看不见时,顶部的圆角处会出现黑色背景。

Image

设备/浏览器

iPhone 16 Pro(iOS 18.4.1), Chrome/Safari

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions