-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ps-push not working properly #51
Comments
Try add to your css:
|
Hi guys... great project. I have a small issue with compatibility between pageslide and another component; the other component doesn't like position:absolute; on the body. Is there an alternative? I was hoping to use the push capabilities. Thanks! /W |
I'm going to answer my own question in case someone else has this issue. Lines 42 & 52 define: param.container = $scope.psContainer || false; I'm coming over from C# land so new to JS but it looks to me like the intention here is that if the bool param.container is true then body is set by the value of $scope.psContainer which is presumably set in the controller, otherwise default to using the document body. I tried this and it didn't work so as a quick and dirty test I replaced line 52 with: var body = document.getElementById("menuContainer"); and that worked. menuContainer is the div that I want to push. Being completely new to Angular I can't be sure if I'm doing it wrong or if there's something up with the conditional statement, I'll have to get my head into that. I just thought I would share what I found before I move on and forget to come back to this. /W |
@leonardofaria It works for me, thanks |
@WolfieWerewolf you're right, that's what the ps-container attribute is for.
and in the controller
|
@orderofout that was a problem that was working in the examples but not in real life, that should be fixed now in > v1.3 |
got it... it's been so long I don't even remember what project I was //- - - - - On Sun, Jun 19, 2016 at 5:28 AM, Daniele Piccone [email protected]
|
The push content feature doesn't appear to work properly. With the code below it works as expected but once you remove the second pageslide block, the ps-push just does the default sliding.
Am I missing something?
I was running Angular 1.4 but also reverted and tried 1.3.13 and still the same result.
This is is the code (same as the example minus a bunch of the buttons):
nothing fancy in the controller either
The text was updated successfully, but these errors were encountered: