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
The Mounted hook of the item component always triggers on newly loaded elements causing flickering.
This seems to be stemming from this issue that was merged in #294 but seems to have been removed in this commit, 950cb6a.
This was recently brought up again in this issue, #348, and the issue doesn't seem to be fixed as it.
Doing the solution in the first issue for the key property being the uniqueKey Item pushed to the slots in getRenderSlots does fix the issue to prevent all mounted hooks from triggering and only triggering those initially loaded.
I'm unsure as to why the first issue's solution was removed and hoping for a proper fix.
Boshes
changed the title
Mounted hook always triggers on newly loaded elements
Mounted hook always triggers on newly loaded elements causing flickering
Dec 3, 2021
Describe
The Mounted hook of the item component always triggers on newly loaded elements causing flickering.
This seems to be stemming from this issue that was merged in #294 but seems to have been removed in this commit, 950cb6a.
This was recently brought up again in this issue, #348, and the issue doesn't seem to be fixed as it.
Doing the solution in the first issue for the
key
property being theuniqueKey
Item pushed to the slots ingetRenderSlots
does fix the issue to prevent all mounted hooks from triggering and only triggering those initially loaded.I'm unsure as to why the first issue's solution was removed and hoping for a proper fix.
To Reproduce
I created this codesandbox of the issue
https://codesandbox.io/s/blazing-sky-3b9gu
Other
The text was updated successfully, but these errors were encountered: