Skip to content

[5.0.0-beta.4]: Editing nested elements causes JS violation / Forced reflows #14510

@thupsi

Description

@thupsi

What happened?

When editing nested elements, especially more than 3 levels deep (but can be less), it's easy to encounter a JS bug that causes a large number of reccuring "forced reflows", introducing heavy lag in the UI.

I have attached a video of a specific workflow, but I've triggered this bug in a variety of situations:

forced_reflow.mp4

I think if you play around with nested elements it's a pretty common bug to run into, but let me know if you can't reprocuce.

Craft CMS version

5.0.0-beta.4

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions