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

Missing options?: { snapToGrid: boolean } in the screenToFlowPosition method documentation #603

Open
1 task done
lawrencegab opened this issue Dec 6, 2024 · 0 comments

Comments

@lawrencegab
Copy link

Code of Conduct

Which site are you suggesting a change for?

reactflow.dev

What content is affected by this change?

https://github.com/xyflow/xyflow/blob/1e1eb06f2a130d7a6a7e9a93e68640603c665921/packages/react/src/types/general.ts#L148

What part(s) of the article would you like to see updated?

screenToFlowPosition needs to be properly updated to represent the options parameter that could be passed
https://github.com/xyflow/xyflow/blob/1e1eb06f2a130d7a6a7e9a93e68640603c665921/packages/react/src/types/general.ts#L148

Additional information

No response

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