universal-parallax icon indicating copy to clipboard operation
universal-parallax copied to clipboard

IE Edge

Open dsc-ian opened this issue 5 years ago • 7 comments

Jittery on IE edge when scrolling

dsc-ian avatar Mar 21 '19 01:03 dsc-ian

Also jittery on Edge when scrolling

jeroentja avatar May 08 '19 12:05 jeroentja

Hi, thank you for notifying me! I thought I'd ironed that issue out already, oh well..

I'll have a look at it when I get time. Also, if anyone already got experience with Edge and this behaviour, please let me know :)

Thank you.

marrio-h avatar May 27 '19 17:05 marrio-h

I've fixed it using css for edge and ie, cause they don't work the same speed as chrome/firefox/opera with parallax. ie - make bg-attachment to 'scroll'. edge - make bg-attachment to 'fixed'.

// ie fix @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .header { background: scroll url('../img/bg-header.jpg') no-repeat center center; } }

// edge fix @supports (-ms-ime-align:auto) {

.header { background: fixed url('../img/bg-header.jpg') no-repeat center center; }

alexeypensar avatar Jun 06 '19 08:06 alexeypensar

Love the work so far marrio-h, i also just noticed jittery behaviour in IE and Edge, Do you think this is fixable? or should we try and use the CSS tweaks?

skidd89 avatar Jun 10 '19 08:06 skidd89

@alexeysreda nice thank you! I'll add the CSS when I get home and do a new publish. @skidd89 Thank you :) I'll notify here later today when it's ready for an npm up.

Cheers guys! 🎉

marrio-h avatar Jun 11 '19 13:06 marrio-h

nice thank you! I'll add the CSS when I get home and do a new publish. Hi! I recommend to check css-hacks from http://browserhacks.com/ before it. I use these 2 hacks, but they are may be not the best ways to solve the problem.

alexeypensar avatar Jun 12 '19 05:06 alexeypensar

Did you ever solve the problem with Microsoft Edge browsers, I found this code and thought it was brilliant, it works on desktop & mobile, smooth and easy to use ... then I tried Edge and it's unusable. At the moment I have added @supports (-ms-ime-align:auto){.parallax__container .parallax {transform-style: flat;transform: none;background-attachment:fixed;}} to the CSS, which makes the background fixed in place on Edge browsers but still with a parallax(ish) effect, which is better than nothing however I wondered if you had solved it completely.

djkrysr avatar Jun 05 '20 16:06 djkrysr