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

Shapes sizes don't take effect until hot reload #30

Open
asklar opened this issue Mar 6, 2021 · 0 comments
Open

Shapes sizes don't take effect until hot reload #30

asklar opened this issue Mar 6, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@asklar
Copy link
Member

asklar commented Mar 6, 2021

Seems like something requires a re-layout. At first, shapes don't render. If you then change the width and height props, it shows up ok:

  <StackPanel>
      <Ellipse height={20} 
        width={40}  fill="yellow" stroke="black" 
        strokeThickness={2} />
      <Rectangle width={101} height={100} fill="blue" stroke="red"
        strokeThickness={3} />
  </StackPanel>

image

@asklar asklar added the bug Something isn't working label Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant