[5.0.0]: Multiple console warnings when navigating element indexes
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
When navigating element indexes, there are multiple warnings in the console. These are of two kinds:
[Violation] Forced reflow while executing JavaScript took <N>ms[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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the console warnings while navigating element indexes in Craft CMS 5.0.0, including with sources containing many entries, and compare the behavior with Craft 4. No source files or tests are identified in the report; done means identifying and fixing the forced reflow/requestAnimationFrame warnings without regressing navigation performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100