Page MenuHomePhabricator

DefaultView: When clearing an object type and the Z1K1 is unset, selector style doesn't cover 100% screen
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce:

  1. Go to https://wikifunctions.beta.wmflabs.org/wiki/Z10112?view=default-view&action=edit
  2. Clear the content and type by doing:
    • Instead of "Type: Mushroom" select "Type: Reference"
    • Instead of "Type: Reference" select "Type: Object"

Observed behavior:

  • When focusing on the empty selector "Select a Type", it expands up to 223px instead of fitting the whole screen
    Screenshot from 2023-03-31 17-14-45.png (204×461 px, 16 KB)
  • When "debug=true", the item shows correctly (expands to 100% of the page). When the debug param is not present is when this error shows.

Expected behavior (Acceptance criteria):

  • The field expands to cover the 100% of the available space, like the others:
    Screenshot from 2023-03-31 17-17-12.png (239×741 px, 9 KB)

Completion checklist

Event Timeline

gengh updated the task description. (Show Details)

Change 907800 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Fix fitWidth behavior on unselected ZObjectType

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

Change 907800 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Fix fitWidth behavior on unselected ZObjectType

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

DVrandecic updated the task description. (Show Details)
DVrandecic subscribed.

Confirmed, the field goes full width.