ngSticky
ngSticky copied to clipboard
Z Index
Is there a way to configure the z-index? I have a fly out menu which shows under the sticky.
IMO, you should use a custom class for the sticky (when it stuck) and set right z-index number for it to make it works with your menu.
@tucq88, inline styles override class based styles so thats not an option.
Actually I was able to override using !important, thanks. On Mar 8, 2016 9:25 AM, "Rickert Mulder" [email protected] wrote:
@tucq88 https://github.com/tucq88, element level styles override class based styles so thats not an option.
— Reply to this email directly or view it on GitHub https://github.com/d-oliveros/ngSticky/issues/122#issuecomment-193802910 .
Right, I forgot about !important. I just forked the project and implemented a sticky-z-index attribute. I would a PR be worthwhile?
@circlingthesun :+1: I'm not sure about the z-index PR, because it could be done by using a custom class via options so I think we should not set it as default :D IMO, the more flexibility, the better :smile: