Comments (2)
Could you maybe add a 3 (or so) second delay for the action after the mouseleave binding?
EDIT: I should add that after playing with it for a second, I see why that would not be a fix either.
It appears as though the div is being added to the bottom of the html. Would adding the div inside of the li for the button, cause the mouseleave to apply to the popover or would that still be seen by the script as "leaving the span element"?
from socialcount.
I've pinned the problem down.
The static buttons at the bottom of the example page don't exhibit this problem. I noticed that when you leave the button, the li
element reverts to a non-hover state and the CSS changes .socialcount .button {
to display:none;
Changing it to display block all the time has the following effect:
- Like, Tweet and +1 are all there as text to begin with.
- After hovering, even for a moment, the ajax portion of the plugin kicks in the buttons and they don't disappear.
- Hovering over g+ works as expected.
Since Facebook and Twitter require you to click before any action occurs (in their cases, a popup), they do not appear to suffer any problems. I propose (and will use) the following change until a better one is identified.
https://gist.github.com/4392058
from socialcount.
Related Issues (20)
- Facebook: "(#12) fql is deprecated for versions v2.1 and higher" HOT 1
- Add GitHub buttons HOT 1
- SocialCount not working HOT 1
- Wrong file in zip file in README.md HOT 1
- Follow button options on Facebook/Twitter HOT 1
- Demo Doesn't Work HOT 3
- Add option to fetch counts without server side script HOT 7
- Move away from fixed Facebook widget widths HOT 1
- shoestring compatibility HOT 1
- More specific link purpose for WCAG 2.4.4 HOT 1
- Reference to missing source map
- Facebook balloon hidden HOT 3
- Init problems when SocialCount is loaded too late. HOT 2
- Is there a way to call this without loading the native widgets on hover? HOT 1
- Twitter share count don't show
- Firefox’s tracking protection causes loading indicator to keep running infinitely HOT 1
- Demo page is not responding
- Update demo URL HOT 1
- Remove the Counts server-side piece of SocialCount HOT 5
- Release 1.0 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 socialcount.