-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map Block: Markers no longer visible in editor #37888
Comments
📌 REPRODUCTION RESULTS
📌 FINDINGS/SCREENSHOTS/VIDEO WordPress.com Atomic CleanShot.2024-06-17.at.11.43.36.mp4📌 ACTIONS
📌 Message to Author |
Atomic and Simple use a different map provider, Mapkit, instead of the default Mapbox. The problem seems limited to Mapbox for now. |
I've been unable to replicate this with Jetpack self-hosted either, both locally and using Jurassic Ninja test sites. @jeherve were you able to replicate? |
I can reproduce with Gutenberg https://cloudup.com/cr9vR5X4F1d Reverting WordPress/gutenberg#61943 doesn't help me fix it though. |
Very odd. I'll look again today at what's going wrong. Thank you for looking, everyone. |
This was wrong - sorry for the wild goose chase. I misunderstood Gutenberg's release process. Strict Mode was not enabled in 18.5.0, though it is in trunk. I believe it's slated to be part of Gutenberg 18.6.0. I still think it's Strict Mode that's causing this problem, though I don't know why: it shouldn't have any effect on production builds. @jeherve, how were you testing the Strict Mode revert? For me:
That patch was generated with |
I have a patch up at #37918 |
Impacted plugin
Jetpack
Quick summary
Mapbox markers no longer show up in the editor as of Gutenberg 18.5.0. The markers are still visible on the front end.
The relevant change is: WordPress/gutenberg#61943 - Enabling React's strict mode (though I don't know why that caused the issue).
Steps to reproduce
A clear and concise description of what you expected to happen.
Map markers should be visible in both the front end and the editor.
What actually happened
Markers are not visible in the editor.
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: