Updated patch that actually works
Patch based on proposed solution.
mistrytheory → created an issue.
Apologies, the previous patch wasn't quite right. This amended patch will ensure that checkbox, radio and submit inputs aren't affected. It also correctly applies this to the vertical tabs instead.
I noticed this was still happening on larger viewports as well. I've slightly altered IndrajithKB's patch (#13) and also additionally added an overflow fix for smaller sizes, based on this patch: https://www.drupal.org/project/seven/issues/3132811#comment-13970622 →
I've added an additional patch, based on naveenvalecha's patch on #10. This adds the style `overscroll-behavior: contain` to stop the scroll of the body, when scrolling within the dialog.