Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue with draw event panHandelers #15

Open
cchalfan1 opened this issue Jun 16, 2020 · 1 comment
Open

Issue with draw event panHandelers #15

cchalfan1 opened this issue Jun 16, 2020 · 1 comment

Comments

@cchalfan1
Copy link

Hello,

Thanks for building this good and simple package.

There are two things I am looking to do with my react-native app.

First, I would like my Svg Rect to have static borders, so that the Rect is always at least as big as the max width of the Svg View. There could be a built in way to do this already, but since there is not much documentation it's taking a while to figure it out just with the source code.

Second, I need elements on my Svg to be clickable, while also using a pinch zoom. For example, user pinch zooms a rectangle, taps to place a piece, then zooms back out. All with a seamless flow. I see that this is nearly achievable with the "Drawing Example", but I don't want the user to need to toggle on and off all the time - bad UX.

I'm open to fixing these with a PR, but it would be helpful to have some direction.

Any recommendations?

@cchalfan1
Copy link
Author

I was able to solve the constraints issue. I could make a PR for it, but this repo doesn't seem too active.

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

No branches or pull requests

1 participant