bootstrapworld / pyret-blocks

Block Language for the Pyret Programming Language
Apache License 2.0
3 stars 1 forks source link

Minor Inconvenience in Vertical and Horizontal Scrolling using the Side Bar #23

Closed maroon-scorch closed 3 years ago

maroon-scorch commented 3 years ago

Sometimes vertical scrollbars do not update in realtime: image (^ The vertical scrollbar indicates it's at the end, but there's an entire block underneath)

Unless I proceed to click next to the block underneath, the bar does not update (and sometimes this might be inconsistent too).

We have some suspicion behind this being attributed to some inconsistencies between line size and block size, or how the line is displayed in the text editor vs how the block is displayed in the block editor.

(Note that the vertical scrolling issue can be easily resolved by scrolling down using the scrollbar of the mouse, I just happen to have a mouse with a broken scrollbar)

More pressingly, the same instance occurs with horizontal scrolling sometimes as well: image

One workaround could be to just fix the scrollbars or make them always appear.

schanzer commented 3 years ago

Does this happen even when the edit is complete, or only when the block is being dragged but not-yet-dropped?

maroon-scorch commented 3 years ago

Issue seems to have been fixed with codemirror updates - at least they have not appeared recently as an inconvenience.

schanzer commented 3 years ago

Yeah, the CMB library updates seem to have addressed this issue. Whew! Let's close.