Css position fixed doesn't work


(Hans-Gerd Claßen) #1

Hi,

can’t get css position fixed get to work any more.
It’s been on and off during the beta, is it now off again¿


(Greg) #2

Its working on my machine with this in the HTML Header…

     <style>
.positionFixed{
position: fixed !important;
}
</style>

(Hans-Gerd Claßen) #3

guess, i like your machine :slight_smile:

well, it really seems to work with safari, but none of the other browsers -> on my machine

Have a nice day !


(Greg) #4

Ah, I only tried it in Safari.


(Hans-Gerd Claßen) #5

@hype no chance with display fixed?


(Jonathan Deutsch) #6

I looked into this - it does appear to be a bug in Chrome and Firefox where elements cannot be fixed if they are within a 3D rotated object. With “Use WebKit graphics acceleration” we force elements to be 3D (and they go on the graphics card), but it looks like we might have introduced an issue where even if this is disabled scenes are still considered 3D. I need to investigate a bit more, but we’ll probably fix this.

So in short, after we make a change, unchecking “use WebKit graphics acceleration” may allow position:fixed to again work with chrome and firefox.