React-mapbox-gl: Popup anchors classes are not being set when anchor is unset

Created on 27 Nov 2017  路  5Comments  路  Source: alex3165/react-mapbox-gl

Demo here

When using Popup with auto-anchors, i'm ending up with class of "mapboxgl-popup-anchor-null" set to popup if null is passed as an anchor, or "mapboxgl-popup-anchor-undefined", if anchor is not set at all.
This results in element "mapboxgl-popup-tip" not being visible.

Bug Help wanted Ready to work

Most helpful comment

[email protected] should have the fix 馃憤

All 5 comments

@troqru Do you have a backup of the demo? I tried to fork it to showcase another issue I ran into and it looks like I somehow converted it to an empty Hello world project!

@redbmk, when you save, it generates new link, so provided demo is still ok

Oh, phew, it's still there. That's how I assumed it worked, but I had clicked on the link quite a few times, even in incognito, and it kept showing me Hello World.

[email protected] should have the fix 馃憤

Was this page helpful?
0 / 5 - 0 ratings