jaunesarmiento / fries

Fries helps you prototype Android apps using HTML, CSS, and JavaScript.
MIT License
1.55k stars 222 forks source link

Form elements are not working #86

Closed CalvinWalzel closed 6 years ago

CalvinWalzel commented 10 years ago

Just started developing with Fries but it seems the form elements aren't working. When you take a look at the example page on http://getfri.es/ and check them under "Forms and Page actions", the spinner, checkboxes, sliders, etc are not usable. It's the same for desktop and mobile devices. Any help? :)

jaunesarmiento commented 10 years ago

Hi @Busk07, thanks for pointing this out. I can't believe I missed that. Thanks! :)

sadiq81 commented 10 years ago

Any idea on when this will be fixed, would like to use the switch element.

stegrams commented 10 years ago

I believe thats a FingerBlast usage issue in file example.js starting from line 58.

I replaced these lines with these:

if (!detect()) { // detect if running on a non mobile browser
  window.onload = function(){ new FingerBlast('body') };
}

Now my form is working fine as I can see.