Skip to content

Dropdown Div Does Not React to Changes in Field/Block Size #2430

@BeksOmega

Description

@BeksOmega

Problem statement

If the size of the block/field changes the dropdown div can become 'disconnected' from the field.

DropdownDivStatic

Though, the advantage of it not moving is that you don't have to keep chasing the div to toggle through options.

Expected Behavior

Maybe the arrow should stretch to maintain it's connection to the field? Sort of like how icon bubbles work. This doesn't really help in the opposite case where the field grows though:
DropdownDivGrow

I don't think the div should be repositioned each time, because that results in chasing behavior.

Actual Behavior

See the above two gifs.

Steps to Reproduce

If you want to play around with it you can see my changes here.
The below xml will add a block with a turtle field to the workspace.

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="turtle_basic"></block>
</xml>

Operating System and Browser

I am assuming this is not browser specific.

Additional Information

Not /necessarily/ that big of a deal that this happens, but I figured I would report it anyway.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions