3lang3 / react-vant

React mobile UI Components base on Vant
https://react-vant.3lang.dev
MIT License
1.31k stars 186 forks source link

🐛 [Bug]: When Tabs.pane list are deleted or added, Tabs Components should be rerendered and recaculate lineStyle`s position #674

Closed Trojan0523 closed 11 months ago

Trojan0523 commented 1 year ago

Which React Vant packages are impacted?

What version of React Vant are you using?

^3.3.1

Reproduce live demo(codesandebox or stackblitz)?

https://github.com/Trojan0523/reac-vant-tabs-reproduction

Descripition

20230824193103_rec_

Trojan0523 commented 12 months ago

antd-mobile 写了一个相同场景的表现形式对比了一下 repository:https://github.com/Trojan0523/antd-mobile-tabs-reproduction live demo: https://antd-mobile-tabs-reproduction.vercel.app/

20230825175723_rec_

Trojan0523 commented 11 months ago

there is a pr: #675

Trojan0523 commented 11 months ago

close this issue, hope for next release