Comments (5)
Reproduced - what's strange it only seems to happen when Louisiana is the first state selected! When I've tried with a few others, it's not happening.
Will take a look. I haven't forgotten about the other issue you emailed me either.
from imagemapster.
The order I select the states doesn't seem to matter. As soon as I deselect LA, it causes all others to deselect.
Glad you'll take a look at it. I think this is the only issue left for completing my project on the front end, so I look forward to the fix. :)
from imagemapster.
Here's the fix - find this function,should be around line 1609 (though I have made changes to my dev since the last commit). Remove the line with the "--" and replace with the line with the "++" to fix it.
I'll update the git repository as soon as I have had a chance to research the previous issue you mentioned.
me.clear_selections = function (area_id) {
-- if (area_id)
++ if (area_id>=0)
If this works for you let me know and I'll close this.
from imagemapster.
That did the trick. It worked immediately on my local tests, but when I tried it on the remote dev machine it gave me some issues. Turned out it was some weird caching, refresh problem (our set-up is less than optimal).
Anyways, it works and thank you very much.
from imagemapster.
Glad to hear it!
from imagemapster.
Related Issues (20)
- Uncaught RangeError: Maximum call stack size exceeded when includeKeys has circular reference
- Inconsistent/Unexpected behavior when clicking area that has includeKeys
- onConfigured not called after rebind
- areas appears selected in UI after rebind even though its selected state !== true HOT 1
- some options (e.g. wrapClass) are not applied after rebind
- onGetList not called when isSelectable !== true
- tests not waiting for onConfigured before continuing
- [📘] rebind docs are not correct regarding preserving selected state
- jsFiddle demos are all broken HOT 6
- Incorrect reference to navigateMode config option name
- Safari's OCR/Live Text is blocking image zones HOT 3
- [TouchScreen only] Weird highlight glitch when touch on the other area beside the map. HOT 5
- this.activeToolTip.stop is not a function HOT 2
- Export image HOT 1
- Tooltip is inconsistent, it shows up on most areas but does not on couple of area item. HOT 5
- `Migrated tests` fail when running against zepto HOT 1
- [🐞] `navigate` example pages are unresponsive HOT 1
- [🐞] grunt `docco` task failing with `Fatal error: marked is not a function` HOT 1
- [✨] Improve ability to run tests with all supported libraries & versions
- [🐞] `configTimeout` not respected for value specified
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 imagemapster.