We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69a23a commit 94f7151Copy full SHA for 94f7151
src/Bar/index.tsx
@@ -120,13 +120,13 @@ class BarComponent extends React.PureComponent<Props> {
120
this.props.context.triggerBarAction({ type, coordinate, barID: this.id });
121
}
122
123
- this.updateStatusIfNeed(type);
124
- this.updateClickStatus(type);
125
-
126
if (this.isActivated && type === BarActionType.DEACTIVATE) {
127
// touch and click
128
this.onClick();
129
+
+ this.updateStatusIfNeed(type);
+ this.updateClickStatus(type);
130
131
132
private triggerMouseAction(type: BarActionType) {
0 commit comments