Merge pull request #283 from orangemug/fix/issue-244

Fix to allow layer sections to expand smoothly
This commit is contained in:
Orange Mug 2018-04-15 14:56:21 +01:00 committed by GitHub
commit b60df8b074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -21,7 +21,9 @@ export default class LayerEditorGroup extends React.Component {
<Collapser isCollapsed={this.props.isActive} />
</div>
<Collapse isOpened={this.props.isActive}>
{this.props.children}
<div className="react-collapse-container">
{this.props.children}
</div>
</Collapse>
</div>
}

View file

@ -0,0 +1,5 @@
// See <https://github.com/nkbt/react-collapse/commit/4f4fbce7c6c07b082dc62062338c9294c656f9df>
.react-collapse-container {
position: relative;
overflow: hidden;
}

View file

@ -36,3 +36,4 @@ $toolbar-offset: 0;
@import 'zoomproperty';
@import 'popup';
@import 'map';
@import 'react-collapse';