Khan / structured-blocks

MIT License
11 stars 2 forks source link

Number scrubbing causes the page width to jump around rapidly #41

Closed jbrennan closed 9 years ago

jbrennan commented 9 years ago

When you scrub a number in the widest block, it causes the width of the editor to change, which pushes things around and looks kind of janky. Perhaps we can use a fixed width for the editor area with an overflow x to scroll? (or did this mess up the scroll + drag? I remember we had this issue earlier)

jeresig commented 9 years ago

Huh - I'm not seeing this! Which browser? What browser width?

jbrennan commented 9 years ago

I’m seeing it in Safari in OS X on this page https://www.khanacademy.org/computing/hour-of-code/hour-of-code-blocks/p/project-wild-animal (For example, make your window be ~1024px wide, drag a triangle block in, and scrub one of its parameters)

jeresig commented 9 years ago

I can confirm this issue - thank you!

jeresig commented 9 years ago

This is no longer an issue, now that the width of the inputs is fixed. See #85.