Comments (17)
Are you saying it doesn't move at all? Or that you want to move at a lower rate?
from quasar.
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.
- What size is the picture you are using?
- What is the height of the window?
- Did you set any height to the Parallax (through prop) and which is it?
- Are you using a layout or not?
- Is your parallax wrapped in an overflowed element on your page?
- Does the demo from doc website works for you?
- Which brwosers are you using?
from quasar.
- I am using your demo component.
- Does not matter, happens at all sizes.
3, 4, 5, 6 See 1. - 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.
Are copy pasting into your app? Does the demo from website works for you?
from quasar.
I am not using an app. I am just looking at
http://quasar-framework.org/components/parallax.html
from quasar.
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.
Some screenshots to eliminate any confusion. This is how it is indended to be seen while scrolling.
from quasar.
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.
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.
If anyone else is experiencing this please join the discussion.
from quasar.
When installing as app I have same issue.
from quasar.
Also tried on an ipad. Same problem.
from quasar.
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.
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.
My goodness, glad we got that sorted out!! I will separately write an issue regarding current feature as it shivers.
from quasar.
By default, it will also "move" the image now.
from quasar.
Related Issues (20)
- Abnormal Behavior of Drawer when Layout Container is Enabled
- Run the format script on project creation and add a .prettierrc file to JS templates HOT 2
- Virtual Scroll in QTable does not stop scrolling down when used with Stickey Column in the first column
- TypeError: a.localStorage.setItem is not a function HOT 9
- Safari version number changed to build number HOT 3
- q-field: Unexpected Data Clearing with clearable Attribute Enabled HOT 1
- Wrong link in rules full list
- How to use `Dialog Plugin` to implement asynchronous commit operations? HOT 2
- How to use `Dialog Plugin` to implement asynchronous commit operations? HOT 2
- Flickering screen when resizing window
- bex build broken due to 'Could not resolve "quasar/src/utils/uid"' HOT 6
- @quasar/app-vite relies on vulnerable package html-minifier HOT 4
- unplugin-auto-import no longer working HOT 1
- Quasar CLI fails to open Android Studio from WSL Environment HOT 2
- q-tooltip component is actually using wrong font-size style. HOT 1
- Quasar build fails with latest cordova-ios HOT 7
- Chat-Message does not render buttons
- Quasar Not Starting After Installation Of Apollo AE HOT 4
- Missing Labels for QTable Pagination Buttons
- Problems with using Q-table Component
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quasar.