Comments (20)
Hey! Can we get a solution for this issue? Thank you very much!
from react-native-canvas.
The scrollbars are present on all dimensions no matter on what emulator i'm testing on. Currently I test it on Nexus 5X API 26 and the examples show scrollbars around them.
from react-native-canvas.
it shouldn't be scrollable. Can you provide some details about your usecase?
from react-native-canvas.
<View style={{ position: "absolute", top: 0, left: 8 }} > <ScrollView scrollEnabled={false}> <Canvas key={this.state.reloadCanvas} ref={this.handleCanvas} /> </ScrollView> </View>
canvas.width = 150 canvas.height = 150
this is what i get when i inspect webview on chrome :
from react-native-canvas.
I've got same issue. it shows scroll bar in Android
from react-native-canvas.
When I didn't set width and height, it cuts off what I drew in canvas.
from react-native-canvas.
when I double-click canvas component, it becomes
from react-native-canvas.
Seems like issue is with autoscale-canvas.js . if i remove autoscale-canvas.js from package the quality degrades but the scroll is solved.
but still can't figure out why canvas shows scroller on page load.
you may also see this in example provided by you.
from react-native-canvas.
I've also seen this on all my emulators when running the sample project
from react-native-canvas.
Can you please provide some technical details please?
from react-native-canvas.
There are some printscreens above. Basically, scrollbars are appearing on android.
from react-native-canvas.
I'm developing on android Nougat with these dependencies
"react": "16.0.0-beta.5",
"react-native": "0.49.3",
"react-native-canvas": "0.1.20",
from react-native-canvas.
It seems like more of a platform issue than the libraries. Do you know of any native Android solutions for this (WebView showing bars when it shouldn't)?
from react-native-canvas.
I don't use any WebView. All my code is in react native.
from react-native-canvas.
Canvas uses it :)
from react-native-canvas.
I can't make it work unfortunately.
from react-native-canvas.
What device dimensions are you testing it on?
from react-native-canvas.
@shivenj how did you draw that circular canvas, basically I need scrollable semi-circular list view in react-native, can you help?
from react-native-canvas.
try to add this string "scrollEnabled: false," in node module, then make sure that you use in debug mode updated node module ( with added string);
http://prntscr.com/hzd8yh
from react-native-canvas.
Should be resolved by now
from react-native-canvas.
Related Issues (20)
- cropping an image HOT 1
- Not able to render image on ios 15.2.1 HOT 3
- Path2D differs from the Canvas API, in that it's not connected to a Canvas element HOT 2
- getcontext of a canvas gives TypeError: canvas.getContext is not a function HOT 2
- Difference in drawImage coordinates and getImageData/putImageData coordinates HOT 2
- why Why did I use getImageData() for more than 1 minute? HOT 2
- Canvas remain black on windows
- How do you get fillRect to occupy full dimensions? HOT 4
- ImageData/getImageData/putImageData strange behaviour HOT 2
- error HOT 2
- New architecture support for fabric HOT 1
- require cycle node_modules\react-native-canvas HOT 1
- canvas.loadFromJSON missing in react-native-canvas
- Error: Unable to resolve module ./CanvasRenderingContext2D HOT 1
- Not able to add fontFamily with font
- Application gets hang after 10 mins due to drawing on canvas continuously
- Can't draw image greater than 2048x2048 HOT 1
- Virtual/In-Memory Canvas HOT 1
- Can't draw Image on release HOT 1
- Doesn't work at all with Expo HOT 5
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-canvas.