angular-fullpage.js icon indicating copy to clipboard operation
angular-fullpage.js copied to clipboard

Flash when switching between pages.

Open malcolmu opened this issue 9 years ago • 2 comments

Hello,

I am having a problem with this great plugin. I have 3 pages all using fullpage js and containing 5-6 sections.

I am using ngRoute/$routeProvider to serve the pages and ngAnimate to handle the page transition animations (css).

The problem is occurring when I change pages, the animations happen (ng-leave/ng-enter) but just before they finish, there is a flash of the content from the entering page which is void of the styles added by fullpage css. My guess is that the fullpage js is getting reloaded by the controller and this is causing this momentary lapse in style. Whether or not this is the case, how do I fix this?

Thanks in advance.

malcolmu avatar May 18 '16 12:05 malcolmu

Same issue here.

santiagovdk avatar Dec 06 '16 16:12 santiagovdk

Same issue here.

To solve, I removed the following code: element.on('$destroy', destroyFullPage);

dougaraujos avatar Jan 25 '17 17:01 dougaraujos