polaris icon indicating copy to clipboard operation
polaris copied to clipboard

Polaris Empty state illustration rendering very small

Open markiiikram opened this issue 7 years ago • 5 comments

Issue summary

Hi Team, Happy New Year! When building Build a Shopify app with Node and React the Polaris Empty state component illustration sometimes renders very small.

Expected behavior

It should render as shown in Polaris https://polaris.shopify.com/components/structure/empty-state

Actual behavior

screen shot 2019-01-02 at 11 22 35 am screen shot 2019-01-02 at 11 05 01 am

Steps to reproduce the problem

  1. Complete the Build your user interface with Polaris of the Tutorial

Reduced test case

Specifications

  • Are you using the React components? (Y/N): Y
  • Polaris version number: 3.2.1
  • Browser: Chrome
  • Device: MacBook Pro
  • Operating System: Mojave 10.14.1

cc: @katiedavis

markiiikram avatar Jan 02 '19 16:01 markiiikram

Odd, shouldn't the illustration be rendering under the title and actions?

AndrewMusgrave avatar Jan 02 '19 18:01 AndrewMusgrave

Weird, I thought this was fixed.

solonaarmstrong-zz avatar Jan 04 '19 15:01 solonaarmstrong-zz

@nwtn is getting a slightly different version of this problem today.

Screen Shot 2019-03-11 at 11 28 03 AM

Related to this issue is a "double rendering" that seems to happen because of SSR and AppProvider. AppProvider checks for client, it's not ready, then it checks it again and renders "properly".

broken-empty-state

markiiikram avatar Mar 11 '19 15:03 markiiikram

This repo getting a makeover! We want to make it easier to find existing issues, remove duplicates, and increase community engagement. If you issue is closed, re-labelled, or moved, don’t panic–it may be a duplicate (check the comments), or there is a new label or repository that work better.

If you disagree with the changes or have any other thoughts on how we can make Polaris better, please let us know!

yourpalsonja avatar Apr 17 '19 19:04 yourpalsonja

This issue has been inactive for 180 days and labeled with Icebox. It will be closed in 7 days if there is no further activity.

ghost avatar Oct 14 '19 20:10 ghost