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

[Bug]: Embedded Table with PropertyFilter styles issue #503

Closed
2 tasks done
nichita-pasecinic opened this issue Nov 20, 2022 · 4 comments
Closed
2 tasks done

[Bug]: Embedded Table with PropertyFilter styles issue #503

nichita-pasecinic opened this issue Nov 20, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@nichita-pasecinic
Copy link

Browser

No response

Package version

^3.0.126

React version

^17.0.2

Description

Hi,

An Table component with prop variant={'embedded'} and filter component like so:

filter={
  <PropertyFilter
    i18nStrings={PROPERTY_FILTERING_I18N_CONSTANTS}
    countText={filterCountText}
    {...propertyFilterProps}
    expandToViewport
  />
}

has some weird styles:

image

Is this expected ?

Source code

<Table
      {...collectionProps}
      variant={'embedded'}
      items={items}
      columnDefinitions={columnDefinitions}
      resizableColumns
      filter={
        <PropertyFilter
          i18nStrings={PROPERTY_FILTERING_I18N_CONSTANTS}
          countText={filterCountText}
          {...propertyFilterProps}
          expandToViewport
        />
      }
    />

Reproduction

No response

Code of Conduct

@nichita-pasecinic nichita-pasecinic added the bug Something isn't working label Nov 20, 2022
@connorlanigan
Copy link
Member

Hello,

the Table in your screenshot looks similar to the "Embedded table" playground example on our website. Can you describe how the table in your screenshot differs from what you expect?

@nichita-pasecinic
Copy link
Author

Hi @connorlanigan
this part (border radiuses/corners) looks odd to me
image

@connorlanigan
Copy link
Member

Ah, I see, thank you. I will bring this up with the team.

@timogasda
Copy link
Member

Hello @nichita-pasecinic !

Sorry for the late response. This should have been fixed with #529. Please update your Cloudscape version and try again.

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

3 participants