https://bugzilla.wikimedia.org/show_bug.cgi?id=62285
Bug ID: 62285 Summary: VisualEditor: Block slugs don't shrink back when selection moves to a FocusableNode Product: VisualEditor Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: ContentEditable Assignee: esand...@wikimedia.org Reporter: roan.katt...@gmail.com CC: da...@sheetmusic.org.uk, jforres...@wikimedia.org, krinklem...@gmail.com, ryasm...@wikimedia.org Web browser: --- Mobile Platform: --- 1. Click in a block slug 2. The slug expands 3. Click in another paragraph 4. The slug contracts, as expected 5. Click in the slug again 6. The slug expands 7. Click on a FocusableNode (reference, template, etc.) 8. The slug doesn't contract 9. Click in a paragraph somewhere 10. Now the slug does contract This is because contracting the slug when it's unfocused happens in pollOnceInternal, which is not invoked when selecting FocusableNodes (and only invoked by accident when changing the selection programmatically). onModelSelect in ce.Surface should probably clear the focusedness of the focused slug. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l