• Hi,

    I recently stumbled upon a severe problem with the resizing of the ‘myfixed’ element when rotating my iPad (the problem is valid in both native iPad and in Chrome dev tools iPad simulation).

    Steps to reproduce:
    1. Go to https://www.bayermachines.com with Chrome
    2. Open dev tools (F12) and enable the Device Toolbar
    3. Switch to “Responsive 834 x 1112”
    4. Scroll to the top of the page and refresh
    5. Scroll somewhere to the middle of the page and rotate the view
    6. Scroll a little bit down so that the sticky header is shown

    Result: https://www.dropbox.com/s/1ryt0s3gjdofol6/bug_with_screen_resizing_01.png?dl=0

    If you do the same but starting in the landscape view, you will get https://www.dropbox.com/s/tn41h38o86b9t8d/bug_with_screen_resizing_02.png?dl=0

    I checked the ‘myfixed’ element in the DOM view and upon rotation it is clearly seen that its ‘style=width: ‘ property is not properly calculated.

    Could you please have a look and provide a fix as this behavior is heavily impacting the usability of the sites?

    Thank you in advance!

    • This topic was modified 5 years, 10 months ago by ddenev.
  • The topic ‘[BUG] ‘myfixed’ width is not properly calculated on screen rotate’ is closed to new replies.