Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

How can this be made to work with AJAX? #10

Open
karlelmberg opened this issue Feb 27, 2020 · 1 comment
Open

How can this be made to work with AJAX? #10

karlelmberg opened this issue Feb 27, 2020 · 1 comment

Comments

@karlelmberg
Copy link

How can this vue component be made to work with AJAX?
It works fine if the page is rendered from the begining.

@aruspeter-octopus
Copy link

aruspeter-octopus commented May 4, 2021

adding a timeout worked for me

mounted() {
setTimeout(() => {
document.dispatchEvent(new CustomEvent('matchheight', {}));
}, 200);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants