diff --git a/src/pages/groupComparison/comparisonGroupManager/GroupCheckbox.tsx b/src/pages/groupComparison/comparisonGroupManager/GroupCheckbox.tsx index 17c89a9d96e..01a87bfbb93 100644 --- a/src/pages/groupComparison/comparisonGroupManager/GroupCheckbox.tsx +++ b/src/pages/groupComparison/comparisonGroupManager/GroupCheckbox.tsx @@ -78,15 +78,15 @@ export default class GroupCheckbox extends React.Component< this.props.shareGroup(this.props.group); } - @autobind - private onOverlayEnter() { - this.props.store.numberOfVisibleColorChooserModals += 1; - } - - @autobind - private onOverlayExit() { - this.props.store.numberOfVisibleColorChooserModals -= 1; - } + // @autobind + // private onOverlayEnter() { + // this.props.store.numberOfVisibleColorChooserModals += 1; + // } + // + // @autobind + // private onOverlayExit() { + // this.props.store.numberOfVisibleColorChooserModals -= 1; + // } @computed get label() { return ( @@ -230,19 +230,19 @@ export default class GroupCheckbox extends React.Component< trigger="click" placement="bottom" overlay={this.buildColorChooserWidget()} - onEnter={this.onOverlayEnter} - onExit={this.onOverlayExit} + // onEnter={this.onOverlayEnter} + // onExit={this.onOverlayExit} rootClose={true} > - 0 - } + // disabled={ + // this.props.store + // .numberOfVisibleColorChooserModals > + // 0 + // } > */} {/**/} { - if ( - this.store.numberOfVisibleColorChooserModals == 0 && - !this.shareLinkModal - ) { - this.store.showComparisonGroupUI = !!visible; - } - }} getTooltipContainer={() => document.getElementById( 'comparisonGroupManagerContainer'