Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

fix: remove sticky tooltip when query returns no data in explore view #42

Merged
merged 1 commit into from
Apr 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@
*/
import { reactify } from '@superset-ui/chart';
import Component from './NVD3Vis';
import { hideTooltips } from './utils';

export default reactify(Component);
function willUnmount() {
hideTooltips(true);
}

export default reactify(Component, { willUnmount });