timmyomahony / craft-matrix-field-preview

Configure a screenshot preview for all your matrix field blocks, giving your clients a better publishing experience.
https://plugins.craftcms.com/matrix-field-preview
Other
16 stars 4 forks source link

Scrolling up happens when adding a block to your page #106

Closed arne-vdw closed 3 months ago

arne-vdw commented 1 year ago

Cool plugin to use both neo and preview of blocks in a website, only we have a bug when adding blocks. When a neo block is added or when closing the overlay without adding a block, the edit page continues to scroll up and focus on the page title field. Does anyone have an idea how to fix this?

Matrix Field Preview 4.0.5
Neo 3.7.9
Craft 4.4.13
timmyomahony commented 1 year ago

I've been trying a few ways to fix this but it's a confusing one. Still working on it anyway and should have a fix soon.

timmyomahony commented 3 months ago

This should be fixed in the new version 5.0.0 of the plugin, just released.