File tree 2 files changed +16
-0
lines changed
mitosheet/css/taskpanes/Graph
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 76
76
padding-right : 5px ;
77
77
padding-left : 5px ;
78
78
box-sizing : border-box;
79
+
80
+ height : 100% ;
81
+ overflow-y : scroll;
79
82
}
80
83
81
84
.graph-sidebar-toolbar-content {
Original file line number Diff line number Diff line change @@ -180,6 +180,19 @@ test.describe('Graph Functionality', () => {
180
180
await expect ( mito . locator ( '.legend' ) ) . toHaveText ( 'variableColumn1Column2' ) ;
181
181
} ) ;
182
182
183
+ test ( 'Can scroll in the select data taskpane' , async ( { page } ) => {
184
+ const mito = await getMitoFrameWithTestCSV ( page ) ;
185
+ await openGraphEditor ( mito , page ) ;
186
+
187
+ await expect ( mito . getByText ( 'Facet row' ) ) . toBeVisible ( ) ;
188
+
189
+ await addColumnToAxis ( mito , page , 'Y' , 'Column2' ) ;
190
+ await addColumnToAxis ( mito , page , 'Y' , 'Column3' ) ;
191
+ await expect ( mito . getByText ( 'Facet row' ) ) . not . toBeInViewport ( ) ;
192
+ await mito . getByText ( 'Facet row' ) . scrollIntoViewIfNeeded ( ) ;
193
+ await expect ( mito . getByText ( 'Facet row' ) ) . toBeInViewport ( ) ;
194
+ } ) ;
195
+
183
196
test ( 'Make a histogram and change the histogram specific configurations' , async ( { page } ) => {
184
197
const mito = await getMitoFrameWithTestCSV ( page ) ;
185
198
You can’t perform that action at this time.
0 commit comments