mirror of
https://github.com/maputnik/editor.git
synced 2026-12-04 07:44:22 +00:00
Fix to keep autocomplete menu within window bounds.
This commit is contained in:
1 parent
a76e08aee7
commit
401c920e47
2 files changed
+63
-3
No files matched your search
@@ -22,6 +22,7 @@ class LayerSourceLayer extends React.Component {
|
||||
render() {
|
||||
return <InputBlock label={"Source Layer"} doc={styleSpec.latest.layer['source-layer'].doc}>
|
||||
<AutocompleteInput
|
||||
keepMenuWithinWindowBounds={true}
|
||||
value={this.props.value}
|
||||
onChange={this.props.onChange}
|
||||
options={this.props.sourceLayerIds.map(l => [l, l])}
|
||||
|
||||
Reference in new issue
Block a user