Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

Ghost box left after removing component #25

@myungsunscott

Description

@myungsunscott

Fantastic addon so far!

I've encountered a strange rendering issue when removing components from the GridStack.

After removing something, the grey box that usually appears when moving the component gets left behind (see image below).

screen shot 2018-07-23 at 4 16 51 p m

I'm more or less using the sample code from the demo project:

Button btRemove = new Button("Remove");
btRemove.addStyleNames(ValoTheme.BUTTON_TINY, ValoTheme.BUTTON_BORDERLESS_COLORED);
btRemove.addClickListener(re -> gridStack.removeComponent(wrapper));
wrapper.addComponent(btRemove);

@alump have you seen this type of behaviour before? Any tips on how to get rid of it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions