Skip to content

[Bug Report] 小程序在使用了「自定义导航栏」的情况下 DropdownMenu 下拉菜单的定位不准 #6077

@941477276

Description

@941477276

重现链接

Vant Weapp 版本

1.11.7

描述一下你遇到的问题。

小程序在使用了「自定义导航栏」的情况下,即 App.json 中设置了 navigationStyle: "custom", DropdownMenu 下拉菜单的定位不准,会多偏移「自定义导航栏」的高度

Image Image

重现步骤

1、小程序App.json 中设置了navigationStyle: "custom"
2、自定义导航栏高度设置为50px
3、在页面中导入下拉菜单组件

设备/浏览器

No response

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