Page MenuHomePhabricator

The label and value in OO.ui.TextInputWidget sometimes overlap
Closed, InvalidPublic

Description

In some circumstances, the label and the value in OO.ui.TextInputWidget overlap when the label is aligned to the left. There's a screenshot below, and sample code on testwiki.

Bunching demo.jpg (338×609 px, 52 KB)

The widget returns to normal when it is focused. Also, the overlapping doesn't occur if the text input widget is added directly to the page, or if the window is opened on page load rather than via a portlet link. Presumably in these cases some DOM event is causing the widget to be updated in the same manner as when it is focused.

I'm seeing the overlapping in both Firefox and Chrome on Ubuntu.

Event Timeline

MrStradivarius raised the priority of this task from to Needs Triage.
MrStradivarius updated the task description. (Show Details)
MrStradivarius added a project: OOUI.
MrStradivarius subscribed.
Jdforrester-WMF set Security to None.
Volker_E subscribed.

@MrStradivarius Have been checking this on several machines without being able to reproduce. Might have been solved by a non-tagged task in the meantime. If there are new inputs, please re-open.