blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Slider field doesn't immediately resize to fit contents (Zelos)

Open TodePond opened this issue 3 years ago • 0 comments

Category Plugins

Component field-slider

Describe the bug When using the Zelos theme: When you drag the slider to a number with a different number of digits (eg: slide from 99 to 100), then the size of the field doesn't update until you continue dragging, or click off of the field.

To Reproduce Steps to reproduce the behavior:

  1. Go to: https://google.github.io/blockly-samples/plugins/field-slider/test/index#renderer=zelos
  2. Drag a parent ( 50 ) block into the workspace.
  3. Drag the number 50 up to 100.
  4. See error: image

Expected behavior The field should immediately resize to fit the new size of the number, like this: image

Screenshots slider

TodePond avatar Jun 28 '22 10:06 TodePond