mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
fix: Drill to detail blocked by tooltip (#22082)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
This commit is contained in:
committed by
GitHub
parent
1809d2b957
commit
3bc0865d90
@@ -17,7 +17,11 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { BinaryQueryObjectFilterClause } from '@superset-ui/core';
|
||||
import { EChartTransformedProps, EventHandlers } from '../types';
|
||||
import {
|
||||
BaseTransformedProps,
|
||||
CrossFilterTransformedProps,
|
||||
EventHandlers,
|
||||
} from '../types';
|
||||
|
||||
export type Event = {
|
||||
name: string;
|
||||
@@ -40,8 +44,9 @@ export const clickEventHandler =
|
||||
|
||||
export const contextMenuEventHandler =
|
||||
(
|
||||
groupby: EChartTransformedProps<any>['groupby'],
|
||||
onContextMenu: EChartTransformedProps<any>['onContextMenu'],
|
||||
groupby: (BaseTransformedProps<any> &
|
||||
CrossFilterTransformedProps)['groupby'],
|
||||
onContextMenu: BaseTransformedProps<any>['onContextMenu'],
|
||||
labelMap: Record<string, string[]>,
|
||||
) =>
|
||||
(e: Event) => {
|
||||
@@ -65,7 +70,7 @@ export const contextMenuEventHandler =
|
||||
};
|
||||
|
||||
export const allEventHandlers = (
|
||||
transformedProps: EChartTransformedProps<any>,
|
||||
transformedProps: BaseTransformedProps<any> & CrossFilterTransformedProps,
|
||||
handleChange: (values: string[]) => void,
|
||||
) => {
|
||||
const { groupby, selectedValues, onContextMenu, labelMap } = transformedProps;
|
||||
|
||||
Reference in New Issue
Block a user