Scratch-blocks: input renders out of the block panel

Created on 21 Nov 2017  路  5Comments  路  Source: LLK/scratch-blocks

Expected Behavior

it shouldn't happen

Actual Behavior

but it happened

Steps to Reproduce

Write something looooooooooooooooooooooooooooooooooooooooooooong in the inputs

Operating System and Browser

Windows 8.1, Google Chrome 60.0.3112.78
default


Moved from LLK/scratch-gui#933
/cc @cyx2015s

bug help wanted

Most helpful comment

I disagree--then we'd get a bug report that you can't see what you're typing in the block menu. I'd rather show what the user typed. When you click away from editing that text it stops overflowing, so it's not getting in the way except when you're actively trying to type long text.

image

image

All 5 comments

What's the expected behaviour? The flyout doesn't scroll horizontally. Blocking them from typing seems like a bad idea. This seems like the least bad response.

It shoud renders under it, but it renders over it

Yeah, the input shouldn't overflow into the scripts area.

I disagree--then we'd get a bug report that you can't see what you're typing in the block menu. I'd rather show what the user typed. When you click away from editing that text it stops overflowing, so it's not getting in the way except when you're actively trying to type long text.

image

image

Frequently reported in Scratch 3.0 feedback, but we've agreed that the current behaviour is fine.

The exception is if it gets wide enough to add a scrollbar to the entire page, instead of just going over other elements.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brianpoor5775 picture brianpoor5775  路  4Comments

towerofnix picture towerofnix  路  4Comments

bfunc picture bfunc  路  5Comments

towerofnix picture towerofnix  路  5Comments

tmickel picture tmickel  路  6Comments