Hey, I know I’m a bit late to the party, but I also have a button that show’s and hides a mapbox graph and am facing a similar issue to you where upon re-display, the mapbox size changes. How did you use a hidden div to get around this?
1 Like