- This topic has 16 replies, 3 voices, and was last updated 3 years, 10 months ago by
Tom.
-
AuthorPosts
-
April 23, 2019 at 10:22 pm #877150
Izzy
Hello!
I’m using parallax with a page hero background image. When I scroll it’s pretty choppy, almost like the y position of the image is taking a bit too long to update in the CSS or something. Latest version of Chrome/Safari/Firefox tested.Any thoughts on how to smooth this out?
-Izzy
GeneratePress 2.2.2GP Premium 1.7.8April 24, 2019 at 7:37 am #877723Tom
Lead DeveloperLead DeveloperHey Izzy,
Just tested this on a couple of browsers and didn’t notice any issues. Any chance you can share a video/gif of the issue as you’re seeing it?
Let me know đ
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 26, 2019 at 11:16 am #880758Izzy
Tom,
That is interesting. Here’s a video:I’m running a 2017 15″ Mac.
-Izzy
April 26, 2019 at 11:21 am #880765Izzy
It’s the jitter that’s driving me nuts đ
April 26, 2019 at 5:36 pm #881002Leo
StaffCustomer SupportAny chance you can try incognito mode to eliminate any browser extension conflicts?
Let us know đ
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/April 27, 2019 at 9:12 am #881573Izzy
Leo,
That looks great in Chrome, but it actually got a bit worse in Firefox. That being the case, I pulled the console up and saw this in incognito as well as normal firefox sessions:Content Security Policy: Ignoring â'unsafe-inline'â within script-src: âstrict-dynamicâ specified Content Security Policy: Ignoring âhttps:â within script-src: âstrict-dynamicâ specified Content Security Policy: Ignoring âhttp:â within script-src: âstrict-dynamicâ specified Content Security Policy: Ignoring â'unsafe-inline'â within script-src: âstrict-dynamicâ specified Content Security Policy: Ignoring âhttps:â within script-src: âstrict-dynamicâ specified Content Security Policy: Ignoring âhttp:â within script-src: âstrict-dynamicâ specified This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features!
Seems to be related.
-Izzy
April 27, 2019 at 3:27 pm #881762Tom
Lead DeveloperLead DeveloperWhat version of Firefox are you using?
Does it happen here as well?: http://gpsites.co/mellow/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 27, 2019 at 9:22 pm #881867Izzy
66.0.3 (64-bit), running a mac.
April 28, 2019 at 8:24 am #882385Tom
Lead DeveloperLead DeveloperDoes it happen on the site I linked to as well?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 30, 2019 at 7:51 am #884463Izzy
Tom,
Thanks for the reply! I’ll check this out a little later, my day job’s sec does not like the site.May 1, 2019 at 9:05 am #885756Izzy
Still choppy on my end in firefox. Chrome looks OK, no console errors.
Firefox still producing an error:
This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features!
May 1, 2019 at 2:58 pm #885962Tom
Lead DeveloperLead DeveloperIn that case, it may just be the vanilla JS script we’re using. I’ll do some digging.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 2, 2019 at 11:44 am #886994Izzy
Awesome! Most appreciated Tom.
May 7, 2019 at 10:45 pm #892446Izzy
Tom and Team,
I’m using a bit of a work-around with CSS:.page-hero { background-attachment: fixed; background-position: top; background-repeat: no-repeat; }
It’s not perfect but it’s smooth. There’s a much more in-depth version of doing this with CSS over at codepen but I’m still toying with the attributes/values. Pure CSS for parallax looks promising.
Turns out all of my CSP warnings were recaptcha-related. Any luck with the asynchronous scroll issue?
-Izzy
May 8, 2019 at 1:40 pm #893380Tom
Lead DeveloperLead DeveloperI wonder which attribute there is helping the most. Any chance you can remove them one by one to check?
No need on the scroll thing. Does that message go away if you turn off parallax?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.