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

makeImageFromView doesn't work with SectionGrid #2764

Open
vendramini opened this issue Nov 23, 2024 · 0 comments
Open

makeImageFromView doesn't work with SectionGrid #2764

vendramini opened this issue Nov 23, 2024 · 0 comments

Comments

@vendramini
Copy link

Hello there.

I do have a list grouped by sections with import {SectionGrid} from 'react-native-super-grid';. I would like to make an image from it.

const snapshot = await makeImageFromView(refGrid);

<SectionGrid
  ref={refGrid}
/>

It only gets what is on screen, it is ignoring the scroll.

Do we have a solution? I've seen that #2171 solves an issue related to ScrollView, but not in this case. I know that SectionGrid is a third-party library, so I'm wondering how to deal with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant