You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Perhaps something like https://docs.angularjs.org/api/ng/directive/ngCloak for the whole page? Set a display: none rule on the body or specific elements using an md-cloak class, which is removed/replaced by after md-theme loads?
Polymer uses an attribute on the body element and programmatically
removes it when it is ready to paint the dom
I assume their hiding is simply CSS rules under body[attribute]
Perhaps something like https://docs.angularjs.org/api/ng/directive/ngCloak
for the whole page? Set a display: none rule on the body or specific
elements using an md-cloak class, which is removed/replaced by after
md-theme loads?
—
Reply to this email directly or view it on GitHub #541 (comment).
@rschmukler No reason to duplicate the ng-cloakfunctionality that I'm aware of. Unless there is reason to be concerned that md-theme wouldn't run until after ng-cloak.
Because md-theme needs angular to finish loading the app to add the theme classes, the initial load of the page has very bad styling.
It would be nice to have some better themes from initial page load.
The text was updated successfully, but these errors were encountered: