grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

BUG: sorter direction incorrect with web component slot

Open YumiChen opened this issue 4 years ago • 0 comments

Version:0.16.45

Are you able to reproduce the bug from the demo?

  • [x] Yes
  • [ ] No

What is the expected behavior? Given a parent web component instance rendering some elements with slot, in the shadowDOM, if the parent element of slot got display: flex style, the sorter should be vertical, for in the result the elements are aligned horizontally.

What is the current behavior? The sorter would be horizontal.

Are you able to attach screenshots, screencasts or a live demo?

  • [x] Yes (attach)
  • [ ] No

https://jsfiddle.net/72dyhu6L/ 截圖 2021-04-09 下午6 38 06

YumiChen avatar Apr 09 '21 10:04 YumiChen