Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding/removing a Warning while editing a field causes field misalignment #5572

Closed
cpcallen opened this issue Sep 30, 2021 · 1 comment
Closed
Labels
component: browser component: rendering issue: bug Describes why the code or behaviour is wrong

Comments

@cpcallen
Copy link
Contributor

Describe the bug

Calls to BlockSvg.prototype.setWarningText while a field is being edited will cause the field to be misaligned with the underlying block.

To Reproduce

  1. Go to the Block Factory demo (note: not, for now, the google.github.io version, as this bug is masked there by No preview shown for Block Factory #5556).
  2. Click on the 'name' field.
  3. Type x
  4. Click on empty part of workspace.
  5. Click on the 'name' field again.
  6. Type block_type
  7. Click on empty part of workspace again.

Expected behavior

When the warning disappears, the field in which we are entering text moves in alignment with the field displayed as part of the block.

Screenshots

Screen.Recording.2021-09-30.at.22.39.08.mov

Desktop:

  • OS: macOS
  • Browser Chrome
  • Version 93.0.4577.82 (Official Build) (x86_64)

Stack Traces

None.

@cpcallen cpcallen added issue: bug Describes why the code or behaviour is wrong component: browser component: rendering issue: triage Issues awaiting triage by a Blockly team member labels Sep 30, 2021
@maribethb maribethb removed the issue: triage Issues awaiting triage by a Blockly team member label Oct 15, 2021
@maribethb maribethb added this to the Bug Bash Backlog milestone Oct 15, 2021
@gonfunko
Copy link
Contributor

gonfunko commented Nov 5, 2024

This no longer repros.

@gonfunko gonfunko closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: browser component: rendering issue: bug Describes why the code or behaviour is wrong
Projects
None yet
Development

No branches or pull requests

3 participants