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

Second pageslider pushes content under the first #87

Closed wendellmva closed 8 years ago

wendellmva commented 8 years ago

I have a scenario that calls for a menu to popup from the left and push the content to the right works great. But I don't think that the first pageslide should push the content off canvas (which it does) or it should be at least configurable to not do that but shrink the main container. The second pageslider pushes the content back under the first slider. It does not take into consideration that a slider is already open. Here's a pen of the situation. This is a bug right not a feature? ;) Just my two cents what you think?

psyklopz commented 8 years ago

Using "squeeze" instead of "push" doesn't what you need? Seems to work for me. http://codepen.io/anon/pen/Wrjybo