mmautomatizacion / mm.angular-fullpage.js

Angular directive for use the jQuery fullPage.js library on Angular.js v1.x
MIT License
17 stars 7 forks source link

state change issue #14

Closed kukac7 closed 6 years ago

kukac7 commented 6 years ago

it will not be destroy when the state is changed. (and initialization when the state is re-activated.) i do not care about anchoring and linking. please have a solution. yes, i read that it is not supported now. 😞

mmautomatizacion commented 6 years ago

Hi kukac7, I don't understand the problem exactly. Can you give me more information about it? I will try to help you.

kukac7 commented 6 years ago

ui-router + html5 mode -> state change -> fullpage.js still init (body class, etc.) -> go back to the state with fullpage.js -> destroy fullpage.js

example

mmautomatizacion commented 6 years ago

You can't use a router with fullPage. Sorry.

kukac7 commented 6 years ago

yes, i know that. but it would be good to solve this. so i was forced to use it as a directive. which is not so nice solution.

mmautomatizacion commented 6 years ago

It's not an issue to resolve. FullPage use his own routing method. It have to load all the pages completely for a smooth slide effect. If you use FullPage and ui-router, both will change the url/hash.