I have requesting fullscreen mode through javascript fullscreen API with this library Screenfull.js. This is working pretty good in my webapp on mobile devices with mobile chrome. But why is not working scroll function at all?
Is this just truly bug of browser? If yes have you tried somebody figure it somehow ?
I have tried make function separately with iscroll but on mobile devices is really slow and not smooth at all.
Thanks for any advice
did you tried with chrome emulator or with a phone? sometimes chrome just go crazy!
close al task and restart!
and why do you need to use screenfull for your mobile app? :/
well i tried with emulator, and when the browser use the fullscreen the scroll doesnt work. I think that library is not good idea for mobile...
Related
I am making a website with a read only Api key and I realized my search/browse function works on desktop but not mobile. It works when i inspect mobile on my computer but when im actually on my phone it does not. Im confused as to why it would work when inspecting mobile on my desktop but not when i am actually on my phone. Anyone have a solution for that? The github and website link are below, thank you!
https://ryancacicedo.github.io/AnimeStudio/
https://github.com/RyanCacicedo/AnimeStudio
I have tried using 'OnClick' and 'Onmousedown' and it is the same result for both of them. I am not really sure what else to try since it works when i inspect mobile on desktop but not when i am actually on a mobile phone. I can't seem to find others who have had this problem either.
i am developing a homepage needed in a webview for an app for both iOS and Android.
I am having some problems with finding a javascript scroll function that works in webview.
I have tried window.scroll(), window.scrollTo() and scrollIntoView() and all works fine when i test them in chrome on my computer but none of them work in the webview.
Can anyone help me finding out how to scroll in a webview?
Thank you in advance!
Currently am developing a big project in AngularJS(version 1.3X), Bootstrap(3.3.1), animate.css and few other libraries.
I do test my application on different devices via Google Chrome Developers mode and on few browsers like Google Chrome, Mozilla Firefox and Safari(for Windows7).
I also have possibility to perform tests on Android device and iPhone.
For some strange reason my application seems to work on every device except for iPhone 5 with Safari 5.1.7(when using same Safari but on Windows7 it does work).
Has anyone before stumbled uppon similar problem?
#EDIT
Sorry, forgot to mention what is actually happening.
When I try to press button that's supposed to toggle (using jQuery, I know it should be done via ui-routing, but that's how my boss wants it) portion of the view (panel) it does not work. Buttons do not perform any actions. There is no reaction.
I'm having a bit a of problem with a navigation not working as it should. If you view the following site on a non-mobile browser, you'll get an idea on how the navigation should function.
www.snottrocket.com
The problem is with mobile platforms. I've viewed this site on an android phone and iPad and it doesn't work as it does in a desktop browser. I do recall that it worked fine with the android before but it may be that the phone's browser has been updated or something.
I thought that maybe it had to do with URL masking but I'm not sure. Essentially, this site lives in a directory under another website and uses URL masking to display snottrocket.com in the url window. This is done with an iFrame but i'm not sure if it's the reason.
I'm assuming the other reason may be the JS code for the scrolling functionality.
Either way, i'm kind of stuck. Anyone want to take a crack at it and tell me what I'm missing or how to solve it?
Thanks in advance.
I'm developing a webapp for iPad and i'm close to finish it (thank's to you guys by the way) but now that I'm pretty close I'm wondering and can't find documentation on how do I tell the browser to close the application onClick? Thanks a lot!
Emilio Peña
I haven't done iPad web apps but I've done them on some other platforms, and in all of them you close the app with:
window.close();
As a side note, iOS applications don't usually have close buttons, so perhaps you don't even need one?