You may know, that there is a bug in bootstrap modals on some devices, that the page behind the modals scrolls instead of the modal (http://getbootstrap.com/getting-started/#support-fixed-position-keyboards)
This bug can be easily fixed by adding a css-rule .modal-open { position: fixed; }
.
But this fix produces another bug - when you open a modal the page scrolls to the top. It can be resolved via JS, for example this way: https://stackoverflow.com/a/34754029/2244262
BUT I use angular-bootstrap package, which replaces bootstrap jquery events with promises. Because of this I don't know how to define global handlers for all modals on show/hide events. I have too many modals in my code and I don't want to define these handlers in each modal call, that's too dirty.
Any ideas on how to fix scroll to the top problem in my situation?