Issue #680Opened December 25, 2017by z1lk2 reactions

DOM/Component buginess when editing Classes/Settings

Question

Encountered this while developing a plugin. I've reproduced it in the official demo via Browserstack on a different OS and browser, so I'm pretty confident there's a bug here. Exact steps to reproduce:

  1. Load the demo, clear the canvas (trash icon), and refresh page to get a fresh demo page
  2. Select the "Build your templates without coding" div in the canvas
  3. Open the Settings section in the Style panel, and in the ID field type a, ENTER, b, ENTER (i.e. change the ID twice)
  4. Notice that the Component is still selected, but DOM element has lost the gjs-comp-selected class, which gives blue border
  5. In the classes editor, click X to remove the lead-title class
  6. Immediately give the component a Title via the setting
  7. Notice that the lead-title class has returned in the DOM but not in the classes editor
  8. You can sync the DOM/Component classes back up by making a change via the classes editor

Answers (3)

artfDecember 27, 20171 reactions

Thanks @z1lk I confirm you about the issue in the demo, but the bug behind this was already fixed thanks to #661 The patch will be available in the next release

lock[bot]September 18, 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.