Automattic / block-experiments

A monorepo of Block Experiments
125 stars 17 forks source link

Sketch: Switch components position between figure and ResizableBox #277

Closed retrofox closed 2 years ago

retrofox commented 2 years ago

AFAIK, <ResizableBox /> should not be the main wrapper of the component in the Block context. This PR switches the position between it and the <figure /> element which becomes the main wrapper.

Fixes #280

Visual issues: misalignment of the sketch block

before after
image image

Also, it produces some flickers when selecting the block.