Skip to content

Fix expression triggering when component is inactive#155

Open
MxGutierrez wants to merge 1 commit into
ElemeFE:masterfrom
MxGutierrez:master
Open

Fix expression triggering when component is inactive#155
MxGutierrez wants to merge 1 commit into
ElemeFE:masterfrom
MxGutierrez:master

Conversation

@MxGutierrez
Copy link
Copy Markdown

@MxGutierrez MxGutierrez commented Aug 12, 2021

Previously when wrapping vue-infinite-scroll's element inside keep-alive, callback was still executed even after swapping to another keep-alive'd component and scrolling downards.

This prevents callback expression triggering when component is inactive.

Fixes #121, #125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v-infinite-scroll loadMore function was called when in another component

1 participant