apertureless / vue-parallax

🌌 Vue.js component for parallax image scroll effects
MIT License
638 stars 88 forks source link

Same image with 2 parallax :fixed="true" #16

Open danialhr opened 7 years ago

danialhr commented 7 years ago

Expected Behaviour

  <div style="position: relative;">
    <parallax :fixed="true";">
      <img src="/img/feature/para.jpg">
    </parallax>
  </div>

  <div style="position: relative;">
    <parallax :fixed="true" ;">
      <img src="/img/feature/feature.jpg">
    </parallax>
  </div>

Expect 2 different parallax image.

Actual Behavior

Shows only 1 single image repeated twice.

danialhr commented 7 years ago

@apertureless which part of the code do you think I can address the above? Would like to look into it and see if I can work out a fix.

apertureless commented 7 years ago

As it is using the fixed prop, I guess it is css related.

zaxlct commented 6 years ago

disappointing

maplehsu commented 6 years ago

You can't use both

Mazaryk commented 5 years ago

The demo page uses both: https://apertureless.github.io/vue-parallax/