On my site I have scrollable menus and content inside a fixed page. Often upon loading the page these elements scroll without issue. But then when the body/html elements are grabbed/focused on the page it just bounces around and the scrollable elements become unscrollable. Sometimes the body/html are automatically focused on. This behaviour can be fixed by clicking something within the scrollable elements thereby adjusting the focus.
I'm wondering if there's a way to check what element is currently active/grabbed/focused/whatever and if it's the body/html changing it to the content.