Comments (6)
Same thing happens to me. Сanvas element and its parent div can randomly get a 0px height and 0px width and thus become hidden. In my case it seems quite random, can happen at any render. Recorded a video with a demonstration.
I think it correlates with #42
reactimgmapper_heightbug-2022-05-20_13.50.26.mp4
Doubt, but probably with a #20 either.
from react-img-mapper.
Hey, @DVGY I am working on this issue and @pavelvzhilin Thanks for providing the video that actually shows a problem.
from react-img-mapper.
Hello @DVGY and @pavelvzhilin, please check version 1.3.0 and let me know if you are facing these problems on that version!
https://www.npmjs.com/package/react-img-mapper/v/1.3.0
from react-img-mapper.
@NishargShah working fine in 1.3.0
from react-img-mapper.
@NishargShah yep, me either - it is all good in 1.3.0. Thank you for the advice.
from react-img-mapper.
Hello @DVGY @pavelvzhilin Resolved in V1.5.0
Please check and free feel to reopen if you found any bugs related to this issue.
from react-img-mapper.
Related Issues (20)
- Dynamic areas HOT 4
- Make a map with two polygons to behave as one area HOT 1
- Unhighlighting on click is delayed until mouse exits current area HOT 3
- Map freezing/stuck random, coords Infinity HOT 10
- Cords working only on first map, if page have more the one image with map
- Is there a way to have pointer over highlited area? HOT 3
- Programmatically set highlighted area/s.
- Type '{ name: string; areas: string; }' is not assignable to type 'Map' HOT 1
- UseEffect Depth Exceeded causing unintended consequences HOT 3
- preStrokeColor prop HOT 1
- defaultProps being deprecated HOT 10
- Component doesn't render HOT 8
- using Tailwind in the react project HOT 2
- Size Height Width HOT 1
- Encountered Two Children with the Same Key, index cannot be used for areaKeyName without using ts-ignore HOT 2
- Disable areas hover HOT 2
- Support for defaultProps will be removed HOT 1
- Support gif
- onClick works one time HOT 2
- area based is toggle check and update is possible? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-img-mapper.