From 9dbe4f0f6c7c1ee8fdf10ab2c8c16da696ea7bf1 Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Fri, 17 Jun 2022 10:14:43 -0700 Subject: [PATCH] Fire pointer events even if no interactive features are involved (#1895) --- src/mapbox/mapbox.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mapbox/mapbox.ts b/src/mapbox/mapbox.ts index 0bf851e8..155a95dd 100644 --- a/src/mapbox/mapbox.ts +++ b/src/mapbox/mapbox.ts @@ -810,9 +810,6 @@ export default class Mapbox { this._map.queryRenderedFeatures(e.point, { layers: this.props.interactiveLayerIds }); - if (!features.length) { - return; - } e.features = features; } cb(e);