File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,8 @@ export class TabBar<T> extends Widget {
352
352
353
353
/**
354
354
* Whether scrolling is enabled.
355
+ *
356
+ * Note: for scrolling to work the tabs need to have `min-width` set.
355
357
*/
356
358
get scrollingEnabled ( ) : boolean {
357
359
return this . _scrollingEnabled ;
@@ -397,7 +399,7 @@ export class TabBar<T> extends Widget {
397
399
* The tab bar content wrapper node.
398
400
*
399
401
* #### Notes
400
- * This is the node which the content node and enables scrolling.
402
+ * This is the node which wraps the content node and enables scrolling.
401
403
*
402
404
* Modifying this node directly can lead to undefined behavior.
403
405
*/
@@ -1046,7 +1048,7 @@ export class TabBar<T> extends Widget {
1046
1048
return ;
1047
1049
}
1048
1050
1049
- // Initialize the non-measured parts of the drag data,
1051
+ // Initialize the non-measured parts of the drag data.
1050
1052
this . _dragData = {
1051
1053
tab : tabs [ index ] as HTMLElement ,
1052
1054
index : index ,
You can’t perform that action at this time.
0 commit comments