Page MenuHomePhabricator

After the first time the SyntaxHighlighter inspector opens, the language drop-down only appears after a second click on the indicator
Closed, ResolvedPublic0 Estimated Story Points

Description

Steps to reproduce:

1.Open a page with VE
2.Go t Insert>code block and insert a code block
3.Now again open the inspector, this time the drop down for language selection does not open
4.Click on the drop down arrow to open it ,

Observed Result:
It does not open the drop down on the first attempt but puts the cursor in the Language field and makes it focused.Clicking on the drop down arrow again expands the drop down.

Screen Shot 2015-09-18 at 2.12.45 PM.png (460×484 px, 24 KB)

Event Timeline

Ryasmeen raised the priority of this task from to Needs Triage.
Ryasmeen updated the task description. (Show Details)
Ryasmeen added a project: VisualEditor.
Ryasmeen subscribed.
Ryasmeen renamed this task from [Regression pre-wmf24] On the second attempt of opening the Code Block inspector, the language selector drop down does not expand inside the code block, requires a second click on the drop down arrow to open it to [Regression pre-wmf24] On the second attempt of opening the Code Block inspector, the language selector drop down does not expand, requires a second click on the drop down arrow to open it.Sep 18 2015, 7:38 PM
Ryasmeen set Security to None.

yes but it does not expand after clicking on the drop down arrow for the first time which is what the bug is about.

Ryasmeen renamed this task from [Regression pre-wmf24] On the second attempt of opening the Code Block inspector, the language selector drop down does not expand, requires a second click on the drop down arrow to open it to [Regression pre-wmf24] On the second attempt of opening the Code Block inspector, the language selector drop down does not expand even after clicking the drop-down arrow, requires a second click on the drop down arrow to open it.Sep 18 2015, 10:42 PM
Ryasmeen reopened this task as Open.

This seems to now be working.

This still happens, takes two attempts to expand the dropdown. On first click it just moves the focus from "Code" text box to "Language" drop down. Both of this should happen in one click.Not requiring user to click another time.

But this is probably not too severe issue.

Jdforrester-WMF renamed this task from [Regression pre-wmf24] On the second attempt of opening the Code Block inspector, the language selector drop down does not expand even after clicking the drop-down arrow, requires a second click on the drop down arrow to open it to After the first time the SyntaxHighlighter inspector opens, the language drop-down only appears after a second click on the indicator.Sep 29 2015, 10:53 PM
Jdforrester-WMF triaged this task as Low priority.