Automattic / Automattic/jetpack

Map Block: Marker hidden when placed in column block (AMP enabled)

Open
#24,866 0 comments 0 reactions 0 assignees View on GitHub
[Block] Map [Plugin] Jetpack [Pri] Low AMP Bug
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.

![Screen Shot 2022-06-28 at 11 06 50 AM](https://user-images.githubusercontent.com/35075802/176253590-08d2e5f0-d478-4a42-9ec1-f94eda9e16a0.jpg)

### What actually happened

The Map is placed in a 4:3 ratio, height changes do not apply and the marker is hidden.
![Screen Shot 2022-06-28 at 11 09 11 AM](https://user-images.githubusercontent.com/35075802/176252858-7438924f-7891-43fb-b26c-88c62bf3f95b.jpg)

### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.