sourcebitsllc / chocolatechip-ui

Mobile Web App Framework
www.chocolatechip-ui.com
MIT License
617 stars 88 forks source link

data-goto not functioning in Firefox 34, 35 #118

Open kthxboosty opened 9 years ago

kthxboosty commented 9 years ago

I don't see any issues-section in the new repo, so I guess my best option is to post this here:

I've tried several demo's, from the site and ones I've built myself or built by collegues. Recent Firefox versions don't seem to do any navigation done with data-goto.

The section on platforms in docs doesn't list anything related to Firefox. Perhaps it should mention that compatibility with Firefox is limited. If this isn't fixed, I think the majority of all ChUI apps won't work properly on Firefox.

sourcebits-robertbiggs commented 9 years ago

ChocolateChip-UI targets iOS, Android and Windows Phone 8. The defaults on these platforms are mobile Safari, mobile Chrome and mobile IE. To enable development on the desktop, we also support desktop Safari for iOS, desktop Chrome for Android, and desktop IE 10-11 for Windows Phone 8. Both the iOS and Android versions depend on Webkit specific features which are not present in Firefox and therefore there will be issues. In the case of Windows Phone 8, it is possible to run that in desktop Firefox, however, if you are doing that on a Mac, some icons will not display properly because ChocolateChip-UI for Windows Phone 8 uses the same internal icon resources as Windows 8 and Windows Phone 8. Otherwise, the WP8 version should be running without problem in Firefox.

The sad fact of mobile development is that depending on what platform you wish to target, you will need an appropriate desktop operating system: Mac for iOS and Windows for Windows Phone 8. Trying to simulate all the differences between all the browsers and operating system to be the same in all browsers is simply not possible. We therefore restrain the baseline for developing for iOS to Safari, for Android to Chrome and for Windows Phone 8 to Windows 8.

chocolatechipui commented 9 years ago

By the way, our bad. We missed the check box for Issue tracking on the repos. They now have it.

kthxboosty commented 9 years ago

Thank you for your responses and suggestions.

Robert: we might try running the WP8-version, I must discuss that with our team.

sourcebits-robertbiggs commented 9 years ago

I'm curious to know why you are interested in Firefox support. Are you thinking of targeting Firefox OS?

kthxboosty commented 9 years ago

We're searching for a way to build an app that supports the recent versions of all major browsers, including Firefox on the desktop on both Windows and OS X. Although we wish to support desktop browsers, the app's main focus is mobile, so that is why we ended up exploring ChocolateChip-UI.

I think I expected some of the things not to work on Firefox since the support for other desktop browsers isn't that bad, and Firefox does render fine in our experiment. But the whole data-goto thing makes the apps break hard :-)

sourcebits-robertbiggs commented 9 years ago

Martijntraa, data-goto works fine for me using Firefox on both Mac and Windows, any of the themes. I'm curious why this isn't working for you. Are you having this issue with the examples or is this a file you've put together? If it's your own code, would you mind sending me some code snippets to see if there's some minor error.

sourcebits-robertbiggs commented 9 years ago

By the way, I'm currently working on a version of the themes that will play nice with Firefox. I'm ditching the Webkit image masks for a different approach that will work with Firefox.