Page MenuHomePhabricator

CdxLookup pending bar animation does not clear if the text search does not return a result, or if you delete all characters
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
Type in the Lookup box, then delete all the characters.

What happens?:
On typing the box becomes animated, when you delete all the characters the animation stays.

What should have happened instead?:
On the box being empty again, the animation should disappear.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Example of bug in action in Wikifunctions: https://phabricator.wikimedia.org/T312115.

Event Timeline

Ddwaal renamed this task from CdxLookup to CdxLookup: Animated State.Jul 20 2022, 3:02 PM
Volker_E renamed this task from CdxLookup: Animated State to Lookup: Animated State.Jul 21 2022, 12:24 PM
Jdforrester-WMF renamed this task from Lookup: Animated State to CdxLookup pending bar animation does not clear if the text search does not return a result, or if you delete all characters.Aug 1 2022, 6:52 PM

Change 822092 had a related patch set uploaded (by Dani DW; author: Dani DW):

[mediawiki/extensions/WikiLambda@master] Ensure the animated state on the CDX-Lookup box goes away if the input is empty.

https://gerrit.wikimedia.org/r/822092

Change 822092 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Ensure the animated state on the CDX-Lookup box goes away if the input is empty.

https://gerrit.wikimedia.org/r/822092

Change 826395 had a related patch set uploaded (by Catrope; author: Catrope):

[design/codex@main] Lookup: When input is empty, clear pending state, and don't reopen menu

https://gerrit.wikimedia.org/r/826395

Change 826395 merged by jenkins-bot:

[design/codex@main] Lookup: When input is empty, clear pending state, and don't reopen menu

https://gerrit.wikimedia.org/r/826395

Change 828083 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Codex from v0.1.0-alpha.10 to v0.1.0

https://gerrit.wikimedia.org/r/828083

Change 828083 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.1.0-alpha.10 to v0.1.1

https://gerrit.wikimedia.org/r/828083