Skip to content
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

not work in ng-repeat #2

Open
kuxiongxiong opened this issue Apr 24, 2015 · 0 comments
Open

not work in ng-repeat #2

kuxiongxiong opened this issue Apr 24, 2015 · 0 comments

Comments

@kuxiongxiong
Copy link

not work in ng-repeat

<div id="container" sticky-container>

  <div ng-repeat="item in data" >
  <img src="http://baconmockup.com/800/150" height="150" width="800" id="top-image">
  <p>Found these 2 gems <a href="http://baconipsum.com">Bacon Ipsum</a> and <a href="http://baconmockup.com/">Bacon mockup {{item}}</a></p>
  <div class="my-stick" sticky-div>Bacon Ipsum :</div>

  <p>Let's assume you are not sure what the size of the next image will be, and have therefore not set it in the CSS. When the below sticky div directive gets created, its offset would be wrong compared to once the image is loaded. So the next sticky div will misbehave</p>

  bresaola meatloaf jerky ribeye beef pork leberkas venison. Strip steak ham shank pastrami biltong turducken ground round chicken sausage flank swine drumstick kielbasa tongue.</p>
  </div>

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant