Open oustr opened 1 year ago
Hey @oustr, I am unable to reproduce this bug. It is working fine for me. Has this issue already been fixed?
Hey @oustr , I am also unable to reproduce this bug.
@Noothan-am @AswinSaj I can still reproduce this bug... To be clear, when there are three lines, I mouse down at the beginning of the 2nd line and mouse up at the beginning of the 3rd line (instead of the end of the 2nd line), then I mouse down at the selected area and drag it to the end of the 1st line and mouse up, then there will be 4 lines.
Hard to explain this bug with words. If you watch the videos you'll understand. This bug is different in different browser. This bug occurs almost anywhere, you can try it just in https://www.slatejs.org/examples/plaintext
Edge desktop browser
Slate Version: 0.91.4 Slate-react Version: 0.92.0 Operating System: Windows 11 Browser: Edge 111.0.1661.44 (Official build) (64-bit)
https://user-images.githubusercontent.com/111119927/227438698-d804b39f-83e3-470d-a4c5-11b6bf091b84.mp4
Firefox desktop browser
Slate Version: 0.91.4 Slate-react Version: 0.92.0 Operating System: Windows 11 Browser: Firefox 111.0.1 (64-bit)
https://user-images.githubusercontent.com/111119927/227438709-3a5d6100-1043-40f2-8512-3fbf4c9e93c4.mp4