The content of a fixed navbar moves to the right in browsers on Windows (Firefox, Chrome) when the browser scroll bar is hidden due to sliding in sidebar, modal dialogs or date picker.
This does not happen if the navbar is not fixed (i.e. no position:fixed).
Looks right as the scrollbar is hidden and so the available width is greater (the 70% width)
For me as a user it feels buggy because e.g. the sidebar is an overlay and as such not pushing content away. So I expect virtually no jumps of unaffected content (like this: https://contributor.google.com/v/signupdisabled).
Well, take a closer look where the scrollbar starts ;-)

That's true for the header but the body content here doesn't jump because the scroll bar isn't hiding. Could this be a solution? To not hide the scroll bar (maybe optionally) if the side bar or modals are displayed?
can you speaks chinese?
here is a possible solution: 4686
Default behaviour: https://codepen.io/anon/pen/GmEmgQ
Behaviour without jumps: https://codepen.io/anon/pen/XRYZMp
Have issue when fixed navbar jumps under the status bar when I open camera to take a picture or choose it from photo library on iOS.
Before:
Choose image:
After choosing and dismiss:
Added an option in sidenav and modal in a9a87f4f9cec5e7412a097a132c64cb8ff671663
Most helpful comment
here is a possible solution: 4686
Default behaviour: https://codepen.io/anon/pen/GmEmgQ
Behaviour without jumps: https://codepen.io/anon/pen/XRYZMp