Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.3.0 introduced bug with timing of custom element rendering #254

Open
craigrileyuk opened this issue Apr 25, 2021 · 1 comment
Open

v3.3.0 introduced bug with timing of custom element rendering #254

craigrileyuk opened this issue Apr 25, 2021 · 1 comment
Assignees

Comments

@craigrileyuk
Copy link

I feel like this is perhaps something of an edge case, but it did break my VCE project.

Basically, v3.3.0 seems to change when the HTML of the custom element is rendered. In previous versions, the HTML for a dynamically created element was available instantly, whereas in v3.3.0, there's a delay.

https://codesandbox.io/s/romantic-firefly-hmzyl?file=/src/App.vue

Try changing the VCE version in the dependency list and observe how the output (see App.vue line 17) in the browser's dev console changes.

@karol-f
Copy link
Owner

karol-f commented Apr 25, 2021

3.3.0 introduced promise based resolving - so it's async now. Like setTimeout(0).

We can think about solving it.

@karol-f karol-f self-assigned this Apr 25, 2021
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

No branches or pull requests

2 participants