File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class ScrollToExample extends React.Component {
31
31
_onFilterChange ( e ) {
32
32
if ( ! e . target . value ) {
33
33
this . setState ( {
34
+ currentIndex : 0 ,
34
35
matchedRows : [ ] ,
35
36
} ) ;
36
37
}
@@ -46,6 +47,7 @@ class ScrollToExample extends React.Component {
46
47
}
47
48
48
49
this . setState ( {
50
+ currentIndex : 0 ,
49
51
matchedRows : filteredIndexes ,
50
52
} ) ;
51
53
}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ exports.ExamplePages = {
56
56
} ,
57
57
SCROLL_TO_EXAMPLE : {
58
58
location : 'example-scroll-to.html' ,
59
- fileName : 'ScollToExample .js' ,
59
+ fileName : 'ScrollToExample .js' ,
60
60
title : 'Jump to row' ,
61
61
description : 'A table example that will list search matches and jump to specified row' ,
62
62
} ,
You can’t perform that action at this time.
0 commit comments