Issue #2545💬 AnsweredOpened February 3, 2020by Elvincth1 reactions

Error while resizing with golden layout: Cannot read property 'appendChild' of null

Quick answerby artf1

After init/render you can use the simple querySelector and move the DOM wherever you need, but again, I hope you don't re-render stuff manually

Read full answer below ↓

Question

ezgif com-video-to-gif

index.js:129 Uncaught TypeError: Cannot read property 'appendChild' of null at Object.postRender (index.js:129) at index.js:757 at Array.forEach (<anonymous>) at r.<anonymous> (index.js:756) at m (backbone.js:368) at v (backbone.js:356) at h (backbone.js:155) at r.c.trigger (backbone.js:346) at renderBody (CanvasView.js:263) at I (underscore.js:762)

Answers (3)

artfFebruary 5, 2020

After init/render you can use the simple querySelector and move the DOM wherever you need, but again, I hope you don't re-render stuff manually

artfFebruary 4, 2020

@Elvincth, as you have the error stack, click on the error to see exactly where it happens

ElvincthFebruary 4, 2020

@Elvincth, as you have the error stack, click on the error to see exactly where it happens /*Initialize module. Automatically called with a new instance of the editor@param {Object} config Configurations@return {this}@private / init(conf = {}) { c = { ...defaults, ...conf }; const em = c.em; const...

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.