-
Notifications
You must be signed in to change notification settings - Fork 819
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
Symbols are not rendering #351
Comments
looks like this issue occurs with v2.0.0 on npm, and not 1.1.0 |
Hi @thecalvinchan - Thanks for the report. I have reproduced the issue. There are actually a few issues here:
|
@jaridmargolin I don't think that the example is trying to render a Furthermore, 1.1.0 symbol overrides are not working as expected |
@thecalvinchan - You are 100% right. How foolish of me to think a const named Document would refer to a Document 😂 In all honesty, this makes much more sense now. The Error is getting caught in the correct location. The error appears to be due to the fact that makeSymbol results in switching the current page. I just created a small patch, #353, that should work around this issue. |
Ensure `makeSymbol` does not change currentPage (closes #351)
published in 2.1.0 |
| -------------------------------------------------------------------------------------------------
Expected behavior:
The react-sketchapp/examples/symbols project renders properly
Observed behavior:
It reports an error
How to reproduce:
clone repository and run
yarn render
(on yarn 1.6)
Sketch version:
50.2
Please attach screenshots, a zip file of your project, and/or a link to your github project
The text was updated successfully, but these errors were encountered: