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

CSS - Class not applied to child elements #1223

Closed
ghost opened this issue Mar 10, 2018 · 2 comments · Fixed by #1227
Closed

CSS - Class not applied to child elements #1223

ghost opened this issue Mar 10, 2018 · 2 comments · Fixed by #1227

Comments

@ghost
Copy link

ghost commented Mar 10, 2018

Linux Mint 18.3 Cinnamon
Google Chrome Version 65.0.3325.146 (Official Build) (64-bit)
Firefox Quantum 58.0.2 (64-bit)
svelte: ^1.57.1

Svelte REPL gist

<!-- DevTools Inspector -->
<div class="cl1 svelte-1rs9q0o">
    Test 
    <div class="cl2">Test 2</div> <!-- class svelte-1rs9q0o missing from element, if added in DevTools it works -->
</div>

If I add {{anyTag}} inside any div, regardless of the depth, then svelte-1rs9q0o is present and styles are applied.
I've tried with depth of 3 and 4. Same behavior.

@Rich-Harris
Copy link
Member

fixed in 1.57.3, thanks!

@ghost
Copy link
Author

ghost commented Mar 14, 2018

You're Welcome!
I know you’ll do that for someone else! ;)

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 a pull request may close this issue.

1 participant