Skip to content

No "paint" property in styles causes edit mode to crash app #46

@rossjs

Description

@rossjs

When creating a new layer, you have to manually add a paint: {} property/object in order to prevent app from crashing.

If not, you will receive the following error:

Uncaught TypeError: Cannot read property 'keySeq' of undefined
    at t.value (VlayerGroupPaint.jsx:57)
    at u (react-dom.production.min.js:130)
    at beginWork (react-dom.production.min.js:133)
    at i (react-dom.production.min.js:161)
    at a (react-dom.production.min.js:161)
    at s (react-dom.production.min.js:162)
    at x (react-dom.production.min.js:169)
    at _ (react-dom.production.min.js:168)
    at batchedUpdates (react-dom.production.min.js:171)
    at Q (react-dom.production.min.js:54)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions