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

slow performance #127

Open
shdanesh2024 opened this issue Jul 12, 2023 · 0 comments
Open

slow performance #127

shdanesh2024 opened this issue Jul 12, 2023 · 0 comments

Comments

@shdanesh2024
Copy link

shdanesh2024 commented Jul 12, 2023

Hi.
after about a few lines of hand writing in android device, it becomes slow and laggy. Is there any solution to use this great library to write for example a full a4 page in android tablets? I used react memo, but there was no difference.
thanks
import * as React from "react";
import { ReactSketchCanvas } from "react-sketch-canvas";
const width = window.innerWidth
const height = window.innerHeight
const styles = {
border: "0.0625rem solid #9c9c9c",
borderRadius: "0.25rem",
width: width,
height: height/4,
backgroundColor: "#343434"
};

export const DrawinCanvas2 = () => {
return (

);
};`

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