Currently working on a Shopify website for a client and encountered an issue where the keys don't scroll down upon page load unless a specific element is clicked or tab is used. I am not sure what caused this unexpected behavior, it may have occurred during the integration of a Vue app for an API call, although removing it temporarily did not resolve the problem.
I understand that this description might be vague, but I am hopeful that someone in this community can provide some insights on how to troubleshoot this issue. Upon inspecting the current theme, I noticed that document.hasFocus() returns false, yet the scrolling functionality works fine, ruling out that as the root cause. Additionally, the console log does not display my messages despite errors being logged. Any assistance with resolving these issues would be greatly appreciated.
In attempt to fix the problem, I have removed suspected code snippets, verified that the CSS for body and HTML did not hide overflow-y property, experimented with functions like window.focus(), all to no avail.