danielepiccone / ng-pageslide

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

transition-property: translate()??? #159

Closed PriyanshDwivedi closed 6 years ago

PriyanshDwivedi commented 7 years ago

Hi,

I am trying to achieve a 60 fps frame-rate on my new website and I am using this directive for the menu. According to this article, the only properties you should be animating are opacity and transform. I was wondering if there is any way to change the transition-property to translateX() so that I can improve the frame-rate of this directive.

Right now, the transition-property applied to ng-pageslide is 'top, bottom, left, right'.

danielepiccone commented 6 years ago

This has been waiting since forever but I am not planning any more work on the directive, and this needs a rewrite of the whole opening/closing logic. :disappointed: