Automattic / Automattic/jetpack
Map Block: Marker hidden when placed in column block (AMP enabled)
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Jetpack
### Steps to Reproduce
1. AMP plugin is installed, standard mode enabled.
2. Create a new post, add a column block
3. Within column block, add paragraph block and map block
4. Assign a marker to the map block and adjust the height of the map (e.g set the height to 560px)
5. Update
### A clear and concise description of what you expected to happen.
I would expect the Map block to appear how it does in the editor.

### What actually happened
The Map is placed in a 4:3 ratio, height changes do not apply and the marker is hidden.

### Other information
_No response_
### Reproducibility
Consistent
### Severity
Some (< 50%)
### Operating System
macOS
### OS Version
12.4
### Browser
Chrome/Chromium
### Browser Version(s)
103.0.5060.53
Contributor guide
Research direction
Start by reproducing the issue with Jetpack's Map block inside a column block while AMP standard mode is enabled. Compare the editor with the published post, focusing on the map's 4:3 sizing, the configured 560px height, and marker visibility. Done means the published map matches the editor and the marker is visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100