react-mapbox-gl v4.5.0 Release Notes

Release Date: 2019-07-14 // almost 5 years ago
  • ➕ Addresses #725 and #733, reverts default functionality of allowing mouse events to pass through Marker and Popup that was introduced in v4.3.0.

    0️⃣ Introduces the renderChildrenInPortal prop on the Map component. This defaults to false, in which case mouse events will work like prior to v4.3.0. If set to true, you'll be able to pan and mouse-zoom through the projected layers (Popup & Marker). Note that these will still receive mouse events, but so will the mapbox map.

    Diff: 8c4c727