Skip to content

Commit

Permalink
NEW Expand the block when clicking on tab option
Browse files Browse the repository at this point in the history
  • Loading branch information
raissanorth committed Oct 9, 2018
1 parent 0f73fc6 commit 1987d5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion client/src/components/ElementEditor/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ class Element extends Component {
*/
handleTabClick(toBeActiveTab) {
this.setState({
activeTab: toBeActiveTab
activeTab: toBeActiveTab,
previewExpanded: true,
});
}

Expand Down

0 comments on commit 1987d5d

Please sign in to comment.