Skip to content

Strange behavior when browser window gets resized #4

@edzweistein

Description

@edzweistein

Problem

I was having trouble with sections (especially those that include slides) not positioning properly when I resized my browser window. (Firefox 43.0.4) Might be just me being new to AngularJS or just having weird layouting and CSS in combination with the fullpage directive?...

naive solution

Anyway if somebody else had problems with this, I solved the problem with rebuilding fullpage when there is a "resize" event from the $window object by adding these lines to the angular-fullpage.js script:

angular.element($window).bind('resize',function(){
rebuild();
});

I dont really know if this a real problem, but might be worth mentioning here ;)

Peace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions