GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.36k stars 4.05k forks source link

BUG: editor.select(model,{scroll:true}) ,scroll don't work #3938

Closed mingxin-yang closed 2 years ago

mingxin-yang commented 2 years ago

GrapesJS version

What browser are you using?

Chrome

Reproducible demo link

https://codepen.io/mingxin-yang/pen/YzxLNay

Describe the bug

How to reproduce the bug?

  1. editor.select(model,{scroll:true}) ,scroll don't work
  2. ...

What is the expected behavior? Click the block, after adding it to the canvas, you can select, activate, and scroll to the selected position

What is the current behavior? ...

If is necessary to execute some code in order to reproduce the bug, paste it here below:

// your code here

Code of Conduct

artf commented 2 years ago

Thanks @mingxin-yang This will be fixed in the next release.