-
Notifications
You must be signed in to change notification settings - Fork 208
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
Notification is fixed to the page instead to the screen #12
Comments
Needed to re-open. Adding position fixed breaks the ability to nest inside of other divs with the 'ele' option. What I'm thinking I will do is make the position fixed, but use margin-top/margin-left to position the alert inside the 'ele' instead of the top/left/right/bottom properties. This will take a little more work than I expected. Here's an example I found of what I'm talking about: http://stackoverflow.com/questions/4962266/css-positionfixed-inside-a-positioned-element |
And what about leaving current implementation as is but when the 'ele' option is set to 'body' the position will be 'fixed' position (instead of 'absolute')? |
That's a good idea! Would keep things simple. I think that's the route I will go, but gimme a day or so to get the fix in. |
Sure, no problem. |
Hi-- has the above mentioned fix already been implemented? Thank you for your work. |
@needcaffeine nope. I'm sorry I was busy around the holiday and completely forgot! Growls should be fixed if ele is "body", otherwise they will be absolute. |
@ifightcrime Thank you! |
Thankyou.. setting css position:fixed worked ryt |
For me the growler notification doesn't have a fixed position to the screen when scrolling down the page.
When it was at the top it was shown only at the top of the whole page not just the vieport, so user couldn't see it when page was scrolled down. Same thing then for bottom offset where it wasn't at the bottom of the viewport when page was scrolled but at a fixed position on the page.
Solution I found is to have the 'position' CSS rule set to 'fixed' instead of 'absolute'.
The text was updated successfully, but these errors were encountered: