img-mapper / react-img-mapper

React Component to highlight interactive zones in images
https://img-mapper.github.io/react-docs
MIT License
122 stars 39 forks source link

area based is toggle check and update is possible? #81

Closed muhammetbilgin closed 7 months ago

muhammetbilgin commented 9 months ago

I will work on a part of computer image and using toggle feature. When user click on a part, open a modal and user choose a option for that part. Its working as well but components on image too close each others. I want to user can confirm selection. If user miss click on object, user can say oh its miss click take toggle back.

is toggle update possible?

image

NishargShah commented 9 months ago

Hello @muhammetbilgin, It is possible in the new release, please checkout. https://www.npmjs.com/package/react-img-mapper/v/2.0.0-alpha.3

muhammetbilgin commented 9 months ago

Hi @NishargShah, i just take a look but i don't understand how its possible. I tried update area's active value but its not effect. Sorry, can u explain it ?

NishargShah commented 9 months ago

Hello @muhammetbilgin, Can you please provide me the codesandbox of it, so I can reformat it?

NishargShah commented 7 months ago

Due to no example from the @muhammetbilgin, I am closing it.