Open nexushoratio opened 9 months ago
Items are being rebuilt.
The rebuilding seems to be limited to the invite cards. Nothing obvious to key off of later in the page loading.
Through Scroller.#mutationHandler()
, we can see the element's isConnected property go false during reload. Fortunately, it appears that no containers in #onClickElements disappeared at this point.
However, we also see that both containers and current item become disconnected during navigation away (e.g., to visit to target). Unfortunately, that starts happening before Scroller.deactivate()
is called, so cannot use that as a signal to take some sort of action.
One option might be: if containers are still connected, but the current item is not, then call #currentItemWatcher() again.
But, for now, log how often this happens across various pages.
Darn. The containers disconnecting is not always true.
Monitor for a bit and see if happens else where and if that might provide any hints on solving.
Unfortunately, have not really been paying attention to this; just been ignoring the error messages.
Not sure if this also happens with
ReceivedInvites
as well. It may have to do with lazy loading like we see onFeed
.