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

Fix GridPDFExport when cell has a Link from react-router #1241

Open
simonssspirit opened this issue Mar 17, 2022 · 2 comments
Open

Fix GridPDFExport when cell has a Link from react-router #1241

simonssspirit opened this issue Mar 17, 2022 · 2 comments
Labels
Bug Item which indicates that something is not working pkg:Grid pkg:PdfExport SEV: Medium

Comments

@simonssspirit
Copy link
Contributor

Fix GridPDFExport when a cell has a Link from react-router

Try to export to see the error: https://stackblitz.com/edit/react-eoqkci-2kyclw?file=app%2Fmain.tsx

The assumption is that when we clone the DOM to export it, the Link element is no longer a direct child of the router.

@simonssspirit simonssspirit added Bug Item which indicates that something is not working pkg:Grid pkg:PdfExport labels Mar 17, 2022
@simonssspirit
Copy link
Contributor Author

This can also cause an issue when using a navigate button in the GridToolbar.

We can add a property to specify where the close the Grid. If we clone it inside the app element where the react-router is, the issue can be resolved.

@kdikov82
Copy link
Contributor

kdikov82 commented Jul 4, 2022

Reported again: Ticket ID: 1571028

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working pkg:Grid pkg:PdfExport SEV: Medium
Projects
None yet
Development

No branches or pull requests

3 participants