Style Developers: Migrating to 5.1.4

Home

Improved Scroll Performance

Historic messages are now placed inside the container named “historic_messages,” which is a child of “body_home”

Style the “historic_messages” container, rather than individual messages, to improve scrolling performance.

Changes to CSS

To support the new container, the following changes can be made to a style's design.css file:

-           .historic {
+           #historic_messages,
+           #body_home > .historic {

Changes to Templates

The following changes were made to the baseLayout.mustache template file:

-           <div id="body_home">{{! Filled at runtime. }}</div>
+           <div id="body_home">
+                 <div id="historic_messages"></div>
+           </div>

 
Last modified: November 22, 2016


The contents of this webpage are released into the Public Domain for unlimited distribution.