plate icon indicating copy to clipboard operation
plate copied to clipboard

Drag & Scrolling not working properly

Open karthikcodes6 opened this issue 2 years ago • 6 comments

Description The selection and dragging is not working properly see the video below.

Steps Select hold and drag to the bottom

Sandbox

https://codesandbox.io/s/plate-playground-v1-2mh1c

Expectation It should be very smooth while selection and dragging

Environment

  • slate: 0.66.1
  • slate-react: 0.66.1
  • browser: chrome

karthikcodes6 avatar Sep 27 '21 13:09 karthikcodes6

Seams like related to https://github.com/ianstormtaylor/slate/issues/2302

karthikcodes6 avatar Sep 27 '21 14:09 karthikcodes6

Created a sandbox for nested scroll container

https://codesandbox.io/s/plate-nested-scroll-7iszq?file=/index.css:155-159

Another issue with nested scroll pasting a new content affecting the layout

karthikcodes6 avatar Sep 27 '21 16:09 karthikcodes6

https://user-images.githubusercontent.com/19695832/134973390-05cbaf39-a013-4e1d-8da4-25f55e224dbd.mp4

zbeyens avatar Sep 27 '21 19:09 zbeyens

https://user-images.githubusercontent.com/24937683/135032240-26a12e1a-66d4-4712-99e7-8d50583f4834.mov

Try selecting from half of the block

karthikcodes6 avatar Sep 28 '21 06:09 karthikcodes6

https://user-images.githubusercontent.com/24937683/135032433-366e7d70-1c73-4c1c-9e90-7b751353c487.mov

Page is moving up and top bar hidden when I paste some content in the editor

karthikcodes6 avatar Sep 28 '21 06:09 karthikcodes6

Is this fixed in latest slate?

zbeyens avatar Dec 06 '21 15:12 zbeyens