youzan / vant

A lightweight, customizable Vue UI library for mobile web apps.

Home Page:https://vant-ui.github.io/vant/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IndexBar 索引栏与Tab 标签页显示问题

hoscent opened this issue · comments

重现链接

Vant 版本

4.8.7

描述一下你遇到的问题。

当Tab 标签页开启swipeable滑动后,IndexBar 索引栏会出现显示错误,当我在第一页设置索引栏后,索引字符列表会出现在最后一页的右侧,并且索引锚点会出现在展示列表的下方,上方则会显示空白

重现步骤

  1. 添加Tabs标签页
  2. 设置swipeable属性
  3. 添加4个Tab页
  4. 在第一个Tab页添加IndexBar

设备/浏览器

No response

Hello @hoscent. Please provide an online reproduction demo by codesandbox or a minimal GitHub repository. Issues marked with need reproduce will be closed if there is no activity within 3 days. For background, please refer to Why reproductions are required.

你好 @hoscent, 我们需要你提供一个在线的重现示例,以便于我们帮你排查问题。你可以通过点击 codesandbox 创建,或者提供一个最小化的 GitHub 仓库。如果 3 天内未跟进,此 issue 将会被自动关闭。背景请参考 为什么需要最小重现

As the issue was labeled with need reproduce, but no response in 3 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions. For background, please refer to Why reproductions are required.

由于该 issue 被标记为 "需要重现",但在 3 天内没有回应,因此该 issue 将被关闭。如果你有任何进一步的问题,请随时发表评论并重新打开该 issue。背景请参考 为什么需要最小重现