DataLinks: Fix url field not releasing focus (#19804)

This commit is contained in:
Andrej Ocenas
2019-10-16 09:57:51 +02:00
committed by GitHub
parent 7f702f881c
commit 09a599900c
4 changed files with 43 additions and 21 deletions

View File

@@ -165,9 +165,9 @@ export class VisualizationTab extends PureComponent<Props, State> {
this.setState({ searchQuery: '' });
};
onPanelOptionsChanged = (options: any) => {
onPanelOptionsChanged = (options: any, callback?: () => void) => {
this.props.panel.updateOptions(options);
this.forceUpdate();
this.forceUpdate(callback);
};
onOpenVizPicker = () => {