danielepiccone / ng-pageslide

AngularJS sliding panel for serving additional content from off the page
http://danielepiccone.github.io/ng-pageslide/examples/
452 stars 162 forks source link

closing after rendering #152

Closed clodny closed 6 years ago

clodny commented 7 years ago

I've noticed one isssue. If initially set psOpen to false, panel is open and closes only after psOpen watcher works, instead of being closed initially.

randellhodges commented 7 years ago

I see that too. Do you have a workaround? I'm playing around with it now to see if I can figure something out.

Edit: Oh, I see a fork by martinlevington that might work. Edit 2: Worked like a champ!

rjmacarthy commented 7 years ago

I have this problem too.

windmaomao commented 7 years ago

why not just add this to the core

slider.style.right = "-" + param.size;

so that we don't have the bug any more ? Copied from martinlevington's fix.

danielepiccone commented 6 years ago

version 2.2.0 should address this issue