davidcalhoun / energize.js Goto Github PK
View Code? Open in Web Editor NEWA tiny JavaScript snippet to make links snappy on touch devices
License: MIT License
A tiny JavaScript snippet to make links snappy on touch devices
License: MIT License
Focus events also need to be handled appropriately, or else there will be "ghost" focus events.
David,
I'm not sure if this is an issue or not, but I thought I'd mention it just in case! :-)
I've been setting up a little jquery mobile app and testing it online. When I 'Add to home screen' on my iphone to test it full screen, I lose link behaviour between pages. It doesn't occur on my footer nav, just on inter-page links in the page content. Tapping on links just bounces you to the 'home' screen. The problem goes away if I don't include energize.js in the top of my document.
It's quite possible I've missed something or screwed something up, though!
Gareth
On android 4.3, and probably other versions too, I need to tab the select button twice to show the choices. Is there a simple way around this.?
The image selection dialog is opened twice.
open on an iOS device and you are able to toggle the disabled checkbox.
Hi,
I've just tested video element in many mobile android browsers and I cannot click/touch any video control only in Chrome mobile browser (v. 27.0.1453.90).
But video works fine for Firefox, Dolphin, Opera and default Android browser (all on Galaxy Nexus, Android 4.2.2).
I love this piece of code but I just noticed it has no license.
Is it licensed under an permissive license (e.g. MIT)?
I have a use case where a click on an absolute positioned element immediately hides that element and the elements behind it receive an undesired mouseenter event. The mouseenter doesn't happen without energize. Tested on iOS7 Safari.
Without energize: http://jsfiddle.net/salomvary/xvQC2/9/
With energize: http://jsfiddle.net/salomvary/xvQC2/10/
Whenever I programmatically create a node and bind a 'click' event, I get 'ghost clicks' on iOS - the bound event gets fired twice. This doesn't happen on elements that exist on page load. Any ideas?
I'm not seeing a version #. Would be helpful for builds...
When loading a page with forms it causes it to auto focus into first field and then immediately back out. Other that that, it makes my phone gap app feel snappy...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.