davidcalhoun / energize.js

A tiny JavaScript snippet to make links snappy on touch devices
MIT License
182 stars 30 forks source link

Pages with forms auto focus into first field. #16

Open mauiflipper opened 11 years ago

mauiflipper commented 11 years ago

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...

mauiflipper commented 11 years ago

Is this project active or abandoned?

davidcalhoun commented 11 years ago

I tried on a simple page with a text input and I don't see this issue (iOS 6.1.3). Can you provide more details or a code excerpt?

mauiflipper commented 11 years ago

I'll whip up a sample page for you.

Daryl

On Jun 11, 2013, at 3:43 AM, davidcalhoun notifications@github.com wrote:

I tried on a simple page with a text input and I don't see this issue (iOS 6.1.3). Can you provide more details or a code excerpt?

— Reply to this email directly or view it on GitHub.

mauiflipper commented 11 years ago

This is an example:

http://www.mauirealestate.net/app/SearchMaui-test.html

However, the issue does not occur unless tested within Phonegap/Cordova. So, this is not only related to Energize but a weird issue between Cordova & Energize. I ruled out all other possibilities by removing all other scripts and leaving only Cordova and Energize. In fact, I even removed the Cordova.js and the issue persisted. So it's not with the Cordova.js, but perhaps the issue is with Cordova in Xcode & Energize. I simply ran out of ways to isolate the problem.

Daryl Hansen

On Jun 11, 2013, at 3:43 AM, davidcalhoun notifications@github.com wrote:

I tried on a simple page with a text input and I don't see this issue (iOS 6.1.3). Can you provide more details or a code excerpt?

— Reply to this email directly or view it on GitHub.