I have an issue where a fixed element would be positioned by the container with transform:translate3d(0, 0, 0)
property, but not by the device screen.
The main issue is that I can't change properties for parent element which has a translate3d transform.
We development video player which will be pasted into different sites. We use position: fixed
for full screen on the devices where fullscreen is not supported.
I have attached a JSFiddle with an example where I would have expected the green box to be at the top corner of the 'container' rather than inside of the 'transformWrap' element: http://jsfiddle.net/GMX5H/159/
Simplified version of the fiddle:
<div class="container">
<div class="transformWrap" style="transform:translate3d(20px, 20px , 20px);">
<div class="fixed" style="position: fixed;left:0;top:0;">Fixed block</div>
</div>
</div>
I have read the question which was asked 5 years ago and tried all solutions. Unfortunately, these solutions don't help me, because I don't have access to the parent HTML/CSS and can't get the value of transform.
'transform3d' not working with position: fixed children
Do we have a new possibility to fix this issue?