Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
ensure initial state does not transition
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jun 4, 2014
1 parent 8fc5d93 commit 9773550
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core-drawer-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@

domReady: function() {
// to avoid transition at the beginning e.g. page loads
this.transition = true;
// NOTE: domReady is already raf delayed and delaying another frame
// ensures a layout has occurred.
this.async(function() {
this.transition = true;
});
},

togglePanel: function() {
Expand Down

0 comments on commit 9773550

Please sign in to comment.