Skip to content

Commit

Permalink
fix widget activate
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Oct 25, 2024
1 parent a7b01c2 commit 61b06de
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/devextreme/js/__internal/core/r1/widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -619,11 +619,15 @@ export class Widget extends InfernoWrapperComponent<WidgetProps> {
}

activate(): void {
this.state.active = true;
this.setState({
active: true,
});
}

deactivate(): void {
this.state.active = false;
this.setState({
active: false,
});
}

render(): JSX.Element {
Expand Down

0 comments on commit 61b06de

Please sign in to comment.