Tim Lai
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/components/model-collapse.jsx
|
|
@@ -65,7 +65,7 @@ export default class ModelCollapse extends Component { |
|
|
|
} |
|
|
|
|
|
|
|
onLoad = (ref) => { |
|
|
|
if(ref) { |
|
|
|
if (ref && this.props.layoutSelectors) { |
|
|
|
const scrollToKey = this.props.layoutSelectors.getScrollToKey() |
|
|
|
|
|
|
|
if( Im.is(scrollToKey, this.props.specPath) ) this.toggleCollapsed() |
|
|
|