Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] index-bar组件加上sticky-offset-top后 点击索引栏后高亮的字母不是选中的字母 #12462

Closed
jyp0912 opened this issue Nov 22, 2023 · 1 comment
Labels

Comments

@jyp0912
Copy link

jyp0912 commented Nov 22, 2023

重现链接

https://codesandbox.io/p/devbox/priceless-shape-nwvn49?file=%2Fsrc%2Fcomponents%2FHelloWorld.vue%3A22%2C16

Vant 版本

4.8.0

描述一下你遇到的问题。

indexbar上方预留一个div实现其他功能,在点击索引栏字母后不会高亮点击的字母

重现步骤

在顶部时点击索引栏会正确定位,但高亮字母错误。滑动到底部后点击索引字母定位也错误。但是将cell组件增加到三个时,高亮字母正确,麻烦告知一下原因,感谢

设备/浏览器

Chrome

@inottn
Copy link
Collaborator

inottn commented Nov 25, 2023

#12388 是同一个问题,这个先 close 了,后续会修复,谢谢反馈~

@inottn inottn closed this as completed Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants