Skip to content
Snippets Groups Projects
Unverified Commit 9e39ffa4 authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Fix click-and-drag filtering in dashboards for firefox (#24945)

parent 6bddea16
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,11 @@ export function initBrush(parent, child, onBrushChange, onBrushEnd) {
// the last updated range when brushing
let range = null;
// remove deprecated createSVGPoint to fix d3.mouse firefox bug (metabase#24912)
if (SVGSVGElement.prototype.createSVGPoint) {
SVGSVGElement.prototype.createSVGPoint = undefined;
}
// start
parent.brush().on("brushstart.custom", () => {
// reset "range"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment