mosch / react-avatar-editor

Small avatar & profile picture component. Resize and crop uploaded images using a intuitive user interface.
https://react-avatar-editor.netlify.app/
MIT License
2.37k stars 369 forks source link

Issue with showGrid in react-avatar-editor #416

Open br0wsa opened 4 months ago

br0wsa commented 4 months ago

Hello,

The showGrid feature is not working, and there is limited documentation on the GitHub issues thread.

In the demo version of react-avatar-editor, it's possible to display the grid. Upon inspecting the demo version's code, it appears that showGrid is defined in the props along with the color. However, this feature does not work as expected, and there is no mention of it in the documentation.

I am using Vite 4.5 with React.

Looking forward to your prompt, specific, and actionable response.

Best regards,

javaspeak commented 1 month ago

I think the npm version is old and does not have showGrids in its props interface. It is showing red like it does not exist.

showGrids