Select: scroll into view when navigate with up/down arrows (#22503)

* scroll into view when move item up/down

Signed-off-by: blalov <boiskila@gmail.com>

* update test snapshots

Signed-off-by: blalov <boiskila@gmail.com>
This commit is contained in:
Boyko
2020-03-02 13:17:39 +02:00
committed by GitHub
parent 3c21a37bbe
commit 75fe3c839b
12 changed files with 202 additions and 54 deletions

View File

@@ -86,7 +86,10 @@ exports[`Render PromQueryEditor with basic options should render 1`] = `
"Group": [Function],
"IndicatorsContainer": [Function],
"MenuList": [Function],
"Option": [Function],
"Option": Object {
"$$typeof": Symbol(react.forward_ref),
"render": [Function],
},
"SingleValue": [Function],
}
}
@@ -153,7 +156,10 @@ exports[`Render PromQueryEditor with basic options should render 1`] = `
"Group": [Function],
"IndicatorsContainer": [Function],
"MenuList": [Function],
"Option": [Function],
"Option": Object {
"$$typeof": Symbol(react.forward_ref),
"render": [Function],
},
"SingleValue": [Function],
}
}