Comments (4)
Ok, Somehow this issue seems to be present only in the windows version of Chrome, I dont have this issue in Ubuntu Chrome 32/Mobile version of Chrome.
from maphilight.
Same problem here (Windows 7 Pro / Chrome 32.0.1700.102 m), solved by removing the line 131 to 133, seems to be a problem with the fade animation.
from maphilight.
I saw this a few weeks ago in the Chrome aura channel (not sure how I got into that). Now that 32 is pushed out in the stable channel, the same issue is on both my Windows and PC machines.
I do know that 32+ made some changes to rendering the canvas using GPU acceleration, which I suspect causes the problem.
Disabling "accelerated 2D canvas" in chrome://flags fixes the issue for me, but that's obviously not a practical solution. I submit that this is likely a problem in chrome, and not in maphilight, but perhaps there's a workaround, or at least patch maphilight to remove the offending fade in, during the meantime?
from maphilight.
Actually, there's a hacky workaround that keeps the fade animation working by checking opacity state before trying the animation. Still, seems like a Chrome issue, so submit a ticket with Google if you can, maybe we can get a change in sometime soon. Until then, at least this is working for me.
if (options.fade && !window.skipAnimateOpacity) {
$(canvas).css('opacity', 0).animate({ opacity: 1 }, 100);
if ($(canvas).css('opacity') == 0)
{
$(canvas).css('opacity', 1);
window.skipAnimateOpacity = true;
}
}
Thanks to Roobin for the workaround. #33 (comment)
from maphilight.
Related Issues (20)
- maphilight not properly working after zoom in or out
- images not printing
- Cant hide images after applying maphilight
- Backgound color on non hover areas
- Highlights not working in Chrome
- Use image instead of color
- bidirectorial mouseover
- Finding Id Dynamically to keep any area selected HOT 1
- Trying to install and use through NPM and Webpack
- Not highligh on the multiple imges i.e. multiple ploygons there should be some orders of ploygons HOT 2
- Canvas and div generated are not responsive HOT 1
- Bug in safari
- Errors when shape attribute is omitted
- error anonymous define HOT 1
- Looping through map areas before initiating maphilight changes result HOT 2
- highlights only working when clicked HOT 1
- jQuery Migrate plugin warnings
- MapHilight v1.4.0 broken on Firefox when using SVG image (naturalWidth === 0) HOT 1
- Dynamic width and weight breaking on image HOT 1
- API Docs endpoint is offline HOT 1
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 maphilight.