Issue #1535Opened October 22, 2018by christopherserrao050 reactions

[Bug]: After custom component is deleted the Trait's view does not clear out

Question

Hi,

I'm using the grapesjs library version 0.14.33.

I've created some custom components and I've noticed that on deleting the components the Traits panel does not clear out. For instance when the canvas loads and no component is selected, the Traits panel does not display any traits. The traits are displayed only after a component is selected. I would like the Traits panel to go back to the state where no component is selected as soon as a component is deleted.

Browser Used for Testing : Chrome v 69.0.3497.100

Actual Behavior : Once the component is deleted, the traits continue to be displayed for the deleted component.

Expected Behavior : Once the component is deleted, the traits controls should be hidden/removed from the traits panel, similar to the state the traits panel is when the application first loads and no component is selected.

JS Fiddle link to reproduce the issue : https://jsfiddle.net/g3zh12r7/1/

Thanks

Answers (2)

artfOctober 30, 20180 reactions

Ok thanks for the report. I'll fix that in the next release

lock[bot]October 30, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.