File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ ReactDom.render(
140
140
| destroyInactiveTabPane | boolean | false | whether destroy inactive TabPane when change tab |
141
141
| active | boolean | false | active feature of tab item |
142
142
| tabKey | string | - | key linked to tab |
143
+ | scrollPosition | ` 'start' \| 'end' \| 'center' \| 'auto' ` | ` 'auto' ` | scroll position |
143
144
144
145
145
146
### TabPane(support in older versions)
Original file line number Diff line number Diff line change @@ -49,6 +49,16 @@ export default () => {
49
49
onChange = { e => setScrollPosition ( e . target . value as ScrollPosition ) }
50
50
/>
51
51
</ label >
52
+ < label >
53
+ Auto
54
+ < input
55
+ type = "radio"
56
+ name = "scrollPosition"
57
+ value = "auto"
58
+ checked = { scrollPosition === 'auto' }
59
+ onChange = { e => setScrollPosition ( e . target . value as ScrollPosition ) }
60
+ />
61
+ </ label >
52
62
</ div >
53
63
< div style = { { maxWidth : 550 } } >
54
64
< Tabs
You can’t perform that action at this time.
0 commit comments