Issue #1829Opened February 25, 2019by skateborden0 reactions

[Bug]: If devices in DeviceManager all have a width specificed an editor breaking error occurs

Question

If all devices specified for the DeviceManager have a width set, an editor breaking error occurs: "TypeError: contRules is null". I'm seeing this in my local project with v0.14.52.

jsfiddle: https://jsfiddle.net/5ycmoftj/1/

I think what is happening is that CssRulesView.js render() is creating div fragments as containers for different media targets, based on the widths of the devices in the device manager. If you don't have a device set up with a undefined width, there is no place for css rules that don't specify a media width to go. It doesn't create a container for them.

Answers (1)

lock[bot]March 10, 20200 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.