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 @@ -355,6 +355,8 @@ export class TabBar<T> extends Widget {
355355
356356 /**
357357 * Whether scrolling is enabled.
358+ *
359+ * Note: for scrolling to work the tabs need to have `min-width` set.
358360 */
359361 get scrollingEnabled ( ) : boolean {
360362 return this . _scrollingEnabled ;
@@ -400,7 +402,7 @@ export class TabBar<T> extends Widget {
400402 * The tab bar content wrapper node.
401403 *
402404 * #### Notes
403- * This is the node which the content node and enables scrolling.
405+ * This is the node which wraps the content node and enables scrolling.
404406 *
405407 * Modifying this node directly can lead to undefined behavior.
406408 */
@@ -1064,7 +1066,7 @@ export class TabBar<T> extends Widget {
10641066 return ;
10651067 }
10661068
1067- // Initialize the non-measured parts of the drag data,
1069+ // Initialize the non-measured parts of the drag data.
10681070 this . _dragData = {
10691071 tab : tabs [ index ] as HTMLElement ,
10701072 index : index ,
You can’t perform that action at this time.
0 commit comments