cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.0.0]: Multiple console warnings when navigating element indexes

Open thupsi opened this issue 1 year ago • 2 comments

What happened?

Description

When navigating element indexes, there are multiple warnings in the console. These are of two kinds:

  1. [Violation] Forced reflow while executing JavaScript took <N>ms
  2. [Violation] 'requestAnimationFrame' handler took <N>ms

Also, I'm not sure if this is related, but the loading of sources with many entries is somewhat slower than Craft 4.

Craft CMS version

5.0.0

PHP version

8.3.2

Operating system and version

Linux 5.15.146.1-microsoft-standard-WSL2

Database type and version

MySQL 8.0.33

Image driver and version

No response

Installed plugins and versions

thupsi avatar Mar 27 '24 19:03 thupsi

This seems like the same issue as #14510, unless I’m missing something?

brandonkelly avatar Mar 27 '24 22:03 brandonkelly

The issue you are referring to is about navigating nested elements. This one is about element indexes. They do have similarities though, and are possibly related.

thupsi avatar Mar 27 '24 22:03 thupsi