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

Whitespaces are being rendered twice #2221

Closed
DavidZinatulin opened this issue Jan 2, 2020 · 2 comments
Closed

Whitespaces are being rendered twice #2221

DavidZinatulin opened this issue Jan 2, 2020 · 2 comments
Labels
needs-more-info The issue doesn't contain enough information to be able to help

Comments

@DavidZinatulin
Copy link

image
if you turn on "Paint flashing" option in Chrome to highlight every DOM element, which is being updated, then you'll notice, that every element, which has a whitespace, is being rendered twice. However, if you replace that whitespace with   in your .jsx code, it behaves as expected.

@developit
Copy link
Member

Can you clarify which version of Preact you're seeing this with? We just published a version that should have fixed this issue (#2215).

@developit developit added the needs-more-info The issue doesn't contain enough information to be able to help label Jan 9, 2020
@DavidZinatulin
Copy link
Author

Indeed, it has :)
thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info The issue doesn't contain enough information to be able to help
Projects
None yet
Development

No branches or pull requests

2 participants