Skip to content

Mutator UI dialog on disabled block with a 'input blinking' behavior #4790

@joseluiz98

Description

@joseluiz98

Describe the bug

Block's inputs are 'blinking' while opening and closing the mutator UI, for disabled blocks. If the block is disabled, and the user keeps opening and closing the mutator dialog (clicking on the gear located at the block's top left corner), we're able to find the input 'blinking', getting itself visible when the UI dialog tis open, and hidden when its closed.

To Reproduce

Steps to reproduce the behavior:

  1. Get a block with a mutator attached to it and a empty input
  2. Right click on it and choose 'Disable Block ' observe how you can't see the input among the 'disabled state' of the block with the mutator UI dialog closed
  3. Now, open the mutator clicking on the gear.
  4. Observe how the input now turns itself 'visible', blinking once on your screen.

Expected behavior

The input can't change its state following the UI its opened and closed, i'm not sure about which of the two states (most or less visible) its the correct one.

Screenshots

image
Closed UI and you can't see the input

image
Opened the mutator UI dialog and now the input 'glows' on the screen

Desktop (please complete the following information):

  • OS: [e.g. iOS] Ubuntu 20.04.1 LTS
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 88.0.4324.182 (Versão oficial) 64 bits

Stack Traces

Replace with error stack trace.

Additional context

I'm using Blockly's Zelos Renderer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions