Page MenuHomePhabricator

TemplateDataEditor buttons on Template page cause reflow
Closed, DuplicatePublic

Description

On template pages, you automatically get the Manage TemplateData and Information about TemplateData buttons. These are JS loaded and cause the page to reflow because they are inserted late. This should be improved.

(add a style module that reserves space for the buttons?)

Event Timeline

TheDJ raised the priority of this task from to Needs Triage.
TheDJ updated the task description. (Show Details)
TheDJ added projects: TemplateData, JavaScript.
TheDJ added a subscriber: TheDJ.

I created a short screencast that demonstrates the problem: when the page seems to have loaded, I try to click within the text box to write something at the beginning of the template, but suddenly the bold button is below my cursor instead of the text box. (Even worse, the sample text gets inserted with JavaScript, and thus Ctrl+Z doesn’t revert this insertion – at least not in Firefox.)