mirror of
https://github.com/maputnik/editor.git
synced 2025-12-19 12:40:01 +00:00
Only limit AutoComplete to window bounds if element is fixed.
This commit is contained in:
@@ -127,6 +127,7 @@ class AddModal extends React.Component {
|
||||
}
|
||||
{this.state.type !== 'background' && this.state.type !== 'raster' &&
|
||||
<LayerSourceLayerBlock
|
||||
isFixed={true}
|
||||
sourceLayerIds={layers}
|
||||
value={this.state['source-layer']}
|
||||
onChange={v => this.setState({ 'source-layer': v })}
|
||||
|
||||
Reference in New Issue
Block a user