Only limit AutoComplete to window bounds if element is fixed.

This commit is contained in:
orangemug
2017-11-29 10:20:07 +00:00
parent b60d101d42
commit e11a5a823a
2 changed files with 4 additions and 1 deletions

View File

@@ -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 })}