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

using Chart Js component at the end of the page breaks the pagination #21

Open
ritscAlex opened this issue Jul 22, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@ritscAlex
Copy link

ritscAlex commented Jul 22, 2023

If the same component gets used twice, the rendering is not working correctly.

<PageContent>
  <Finance />
  <Finance />
</PageContent>

I used the sandbox example to try the above case.

image

@PejmanNik
Copy link
Owner

I don't think that is the case, you can render the same component a hundred time: https://codesandbox.io/s/jikji-issue-21-t9s3w4?file=/src/AnnualReport/index.tsx

The issue is the component use ChartJs and there is an issue in applying the layout on the chart depending on the chart position on the page

@PejmanNik PejmanNik changed the title Rendering the same component twice doesn't work using Chart Js component at the end of the page breaks the pagination Jul 23, 2023
@PejmanNik PejmanNik added the bug Something isn't working label Jul 23, 2023
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
Status: No status
Development

No branches or pull requests

2 participants