You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On initial page load (or empty cache & hard page reload) the scroll to hash does not happen. In other cases (navigation, soft page reload, ...) it works.
Observations
Happens only on "empty cache & hard reload"
We get pass the uiSettled function call
We see the "Tried to scroll to element with id or name "${hash}", but it was not found" message in the console, but:
The element with given ID is eventually present; On subsequent soft page reload everything works
If we pause in debugger just before the warning message (above) then we can see that the UI is not fully settled (loading spinners and such)
If we try to debug the steps we can see that uiSettled returns before all the route models resolve
The text was updated successfully, but these errors were encountered:
MichalBryxi
pushed a commit
to MichalBryxi/ember-url-hash-polyfill
that referenced
this issue
Aug 4, 2021
The problem
On initial page load (or empty cache & hard page reload) the scroll to hash does not happen. In other cases (navigation, soft page reload, ...) it works.
Observations
uiSettled
function calldebugger
just before the warning message (above) then we can see that the UI is not fully settled (loading spinners and such)uiSettled
returns before all the routemodel
s resolveThe text was updated successfully, but these errors were encountered: