craftcms / craftcms/cms

[5.x]: Selectize inputs with many options are laggy

Open
#14,205 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

What happened?
Description

There's some odd lag with selectize inputs with many options. In particular, if you compare "System Status" with "Time Zone", there's a noticeable delay in the UI. I don't notice it when picking options, only that the outline takes a moment to show. Not a huge deal, just a little unpleasant.

Video: https://venveo.d.pr/v/5DADsI

Craft CMS version

5.0.0-alpha.8

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

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the lag in Selectize inputs with many options, comparing the “System Status” and “Time Zone” fields as shown in the linked video. Confirm the delay occurs when the input outline appears, then identify the relevant frontend entry point and verify the outline responds without the noticeable delay.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.