Comments (12)
I'm having the same issue. Have you found any solution?
from react-native-view-shot.
Sorry, I was working on another part of the app at the moment, please let me know if you find a solution for that. Thanks
from react-native-view-shot.
Well, rendering off-screen in a regular View
as suggested here #31 works.
from react-native-view-shot.
mmh yeah so snapshotContentContainer is supposed to solve that. are you screenshoting from the scrollview ref?
from react-native-view-shot.
maybe there is a bug in the feature #47 (comment)
from react-native-view-shot.
I see the same as described in #47. The content is stretched but cut.
from react-native-view-shot.
I guess the bug is only on iOS, probably around these lines:
react-native-view-shot/ios/RNViewShot.m
Lines 88 to 94 in 9a613da
would you like to provide a PR to fix it? (I have bad connectivity right now in China, this will need to wait 2 more weeks otherwise)
from react-native-view-shot.
Hey, Any update on this? Testing on iOS simulator, facing the same issue.
from react-native-view-shot.
do you want to try a fix and submit a PR, otherwise a snippet reproducing the problem would be good, i'm not sure if the bug is reproducible in https://github.com/gre/react-native-view-shot-example already
from react-native-view-shot.
closing as I can't reproduce it. if you can and want to provide a fix, please provide a PR.
from react-native-view-shot.
scroll view content no of items and capture a single image of the scroll view. get image Like below...
from react-native-view-shot.
scrollview inside flatlist then capture screenshot
<Scrollview
<View
contents....
</View
<Flatlist
.........
/>
</Scrollview
from react-native-view-shot.
Related Issues (20)
- Sharing to different apps HOT 1
- react-native-view-shot error: failed to capture view snapshot on android with MaskedView from '@react-native-community/masked-view'
- FlatList inside a View HOT 1
- React-native 0.72 requires higher minimum SDK version for windows.
- Getting blank screen when capturing video playing under webview.
- Getting blank screen when capturing video playing under webview. HOT 4
- Image Quality is too low while i am taking view shot of my screen
- White borders when view dimensions are not integers
- Crash error on android HOT 5
- not working on ios RN0.72.4
- newArchEnabled HOT 1
- Viewshot is not capture screen shot of absolute positioned Views/
- Is this package still maintained?, because it doesn't seem to work on android anymore HOT 2
- Run time crash due to use of depricated UI Image apis
- not working on android React-Native 0.7x HOT 1
- In scrollable content when i take a shot end of the content styles not applied example borderRadius and color and border
- Android: Image is coming partially black on Android when used in conjunction with ScrollView! HOT 1
- how to avoid black edges formed after capturing. HOT 1
- Regression in 4.0.0-alpha.2
- In android it does nothing and not showing any error logs. Works fine in iOS HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-view-shot.