ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.54k stars 2.38k forks source link

enhance(Tabs): Add experimental prop `autoScroll` #6497

Closed zombieJ closed 7 months ago

zombieJ commented 7 months ago

Disable auto scroll to active when content changed. This API name or function still need to be check.

PS: need help with test case.

codecov[bot] commented 7 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (ff7ebbb) 92.20% compared to head (5d2ff75) 92.24%.

Files Patch % Lines
src/components/tabs/tabs.tsx 71.42% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6497 +/- ## ========================================== + Coverage 92.20% 92.24% +0.04% ========================================== Files 316 316 Lines 6926 6874 -52 Branches 1748 1724 -24 ========================================== - Hits 6386 6341 -45 + Misses 502 497 -5 + Partials 38 36 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 7 months ago

Size Change: +69 B (0%)

Total Size: 366 kB

Filename Size Change
./lib/bundle/antd-mobile.compatible.umd.js 195 kB +39 B (0%)
./lib/bundle/antd-mobile.umd.js 152 kB +30 B (0%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./lib/bundle/css-vars-patch.css` | 1.42 kB | | `./lib/bundle/style.css` | 18 kB |

compressed-size-action

github-actions[bot] commented 7 months ago

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6497.surge.sh