Closed jp-imagines closed 1 day ago
That's something I had experienced as well when first testing this: https://github.com/Automattic/jetpack/pull/29098#pullrequestreview-1400220652
It'd be nice to improve on that behavior.
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
The issue does appear to be due to how Mapkit is rendered on the Map block.
It is replicable on WoA and Simple sites as they use Mapkit instead of Mapbox, but can be replicated on self-hosted and for local testing by setting the cookie in your browser console with document.cookie = "map_provider=mapkit";
.
Adding these notes as I started looking into it but haven't identified a solution just yet.
Impacted plugin
Jetpack
Quick summary
Clicking on a Map block causes you to interact with the map itself, rather than the block, which makes it nearly impossible to select the block without using the List View or the "select" tool.
Steps to reproduce
A clear and concise description of what you expected to happen.
The Map block should be selected, with the block toolbar visible, so that it can be edited, moved, or deleted.
What actually happened
Focus doesn't seem to move to the Map block and remains on the previously selected element. Clicking around the Map block interacts with the map itself.
https://github.com/Automattic/jetpack/assets/5630717/59332383-f955-4143-8ded-ab28de41b9ff
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Atomic
Logs or notes
Only replicated on WoA so far, but I imagine it affects Simple too.
Workarounds: