Giter Site home page Giter Site logo

Comments (17)

rstoenescu avatar rstoenescu commented on May 5, 2024

Are you saying it doesn't move at all? Or that you want to move at a lower rate?

from quasar.

musicformellons avatar musicformellons commented on May 5, 2024

Tried on chrome and firefox: the text moves but background pictures do not move at all. Tried on my android phone: background pictures tremble, they do not really move.

from quasar.

rstoenescu avatar rstoenescu commented on May 5, 2024
  1. What size is the picture you are using?
  2. What is the height of the window?
  3. Did you set any height to the Parallax (through prop) and which is it?
  4. Are you using a layout or not?
  5. Is your parallax wrapped in an overflowed element on your page?
  6. Does the demo from doc website works for you?
  7. Which brwosers are you using?

from quasar.

musicformellons avatar musicformellons commented on May 5, 2024
  1. I am using your demo component.
  2. Does not matter, happens at all sizes.
    3, 4, 5, 6 See 1.
  3. Chrome and Firefox and Chrome Android mobile. All recent versions.

My screencast is having some quirks otherwise I 'd send you a mp4 of it.

from quasar.

rstoenescu avatar rstoenescu commented on May 5, 2024

Are copy pasting into your app? Does the demo from website works for you?

from quasar.

musicformellons avatar musicformellons commented on May 5, 2024

I am not using an app. I am just looking at
http://quasar-framework.org/components/parallax.html

from quasar.

rstoenescu avatar rstoenescu commented on May 5, 2024

Using exactly same environment as you. Latest Chrome, viewing the doc website example. It works. Open up dev tools and refresh the page. Any errors in the console there?

from quasar.

rstoenescu avatar rstoenescu commented on May 5, 2024

Some screenshots to eliminate any confusion. This is how it is indended to be seen while scrolling.

screenshot from 2016-08-26 19 17 22

screenshot from 2016-08-26 19 17 24

screenshot from 2016-08-26 19 17 26

screenshot from 2016-08-26 19 17 30

from quasar.

musicformellons avatar musicformellons commented on May 5, 2024

Your screenshots show the behaviour I would expect, but it is not what I get... No errors in the Chrome devtools console...
The background pictures do shiver/ tremble a little bit... they seem 'stuck'. Weird. As said before it is also on my mobile phone...

from quasar.

rstoenescu avatar rstoenescu commented on May 5, 2024

Weird. I need to reproduce in order to fix it. But can't understand how it would act different on the same browser... Can you investigate a little please on your machine? Fork this repo and try to make something of it. NPM install then "npm run dev".

You'll see some buttons there, click on Parallax. Source of the page is in /dev/views/parallax.vue, source for Parallax is in src/web-components/parallax/parallax.vue.

Will investigate too, but it's hard if I can't reproduce :(

from quasar.

rstoenescu avatar rstoenescu commented on May 5, 2024

If anyone else is experiencing this please join the discussion.

from quasar.

musicformellons avatar musicformellons commented on May 5, 2024

When installing as app I have same issue.
image

image

from quasar.

musicformellons avatar musicformellons commented on May 5, 2024

Also tried on an ipad. Same problem.

from quasar.

musicformellons avatar musicformellons commented on May 5, 2024

Just to be 100% sure as when I look more closely at your screencaptures it is also not very clear whether the background picture moves y/n; Expected behaviour would be a moving background picture at different pace then foreground text, like in this example:
http://materializecss.com/parallax-demo.html

from quasar.

rstoenescu avatar rstoenescu commented on May 5, 2024

Omg, lol. But this is intended due to inner workings for scaling any image you give Parallax to work with. The intended effect is just as if you have a window (real life window) through your page and the window moves up or down, showing you different parts of the landscape behind it. From your description I though the background image does not move AT ALL (which would be a bug) as if you keep looking at the same part of the image regardless of the scroll position... aka as if you replace Parallax with a static image :)
What you want is actually an enhancement, to be able to specify some speed for Parallax scroll.

from quasar.

musicformellons avatar musicformellons commented on May 5, 2024

My goodness, glad we got that sorted out!! I will separately write an issue regarding current feature as it shivers.

from quasar.

rstoenescu avatar rstoenescu commented on May 5, 2024

By default, it will also "move" the image now.

from quasar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.