next/prev tab event jumps minimum 2 tabs, even though the screen might only show 1 #17006
Closed
1 task done
Labels
🤔 Need Reproduce
We cannot reproduce your problem
Reproduction link
https://ant.design/components/tabs/
Steps to reproduce
Create a tab component with a long text in the tab (https://ant.design/components/tabs/). Shrink the browser until only 1 tab is visible. Click the next tab button, it will jump over the next tab and display the 3rd and not the second.
What is expected?
It should then always jump only the visible tabs.
What is actually happening?
It jumps in minimum 2 steps (works for all >= 2)
The text was updated successfully, but these errors were encountered: