Open Sheila111 opened 3 years ago
Probably fixed with latest update.
@jwunderl tested this for me on his Mac, and looks like Monaco 0.24.0 doesn't fix this - but he also says it doesn't feel TOO too weird
To summarize current behavior; if the last line is empty and you drag into the space below any monaco lines, it bumps the cursor up to the beginning of the first line. If the last line has any content in it (even whitespace) then it moves cursor to the closest character (that is, it acts as if the y position of the mouse is on the line itself).
The first case feels a bit buggy / ideally it would all behave consistently as the second case, but it doesn't feel urgent to me - I personally expect to drag the snippet to where I want it to go in the first place. I'm not really sure what the expected behavior when you drag the snippet below the workspace is in the first place, besides possibly 'insert as new last line".
Describe the bug Mac: Mouse focus changed when dragging code from toolbox
Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta 2.Dragg code from toolbox and observe mouse focus
Expect behavior Mouse focus won't change when dragging code from toolbox
Actual behavior Mac: Mouse focus changed when dragging code from toolbox
Additional context 1.OS: Mac 2.makecode.microbit.org version: 3.1.81 3.Microsoft MakeCode version: 6.13.29