You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make the address bar dissappear on Google Chrome Android to save space on the screen #21179
Some of the owncloud apps are very usable even on mobile phones in the web interface of ownCloud (like Tasks), but the address bar of Google Chrome never disappears (opposed to dissappearing on other pages when scrolling down).
On mobile phones it does make a big difference as it takes up much valuable space on the screen.
I found someone trying to address an oposite issue, but it might help. Please note, I cannot write code, so unfortunatelly, I cannot provide a solution..
Edit v2: One method that could potentially work is to use the 'Fullscreen API' and detect every time the user scrolls (using a jQuery method) - then tell the browser to exit fullscreen mode each time to keep the address bar. Bear in mind this is untested so tell me whether you have any luck with this method...
I am sorry to reply so late, @jancborchardt I would love to be able to prepare a pull request, but I cannot code :( The found that code when I was searching the internet about the issue, and I pasted it just in case it could give some hint, it actually does the oposite then what we would need.
I tried to find if someone was trying to solve the same issue for other webpage, but I did not find anything, unfortunatelly, my skills are not high enough to be able to prepare the fix myself. 😢 I apologize..
user can use the menu item in google chrome for Android to add a shortcut to the home screen and the app then appears without the address bar. Then I checked the code of OC and to my surprise it is already there, and it works as expected.
I was about the close the issue, but I just realized that You did it..
Activity
elpraga commentedon Dec 14, 2015
I found someone trying to address an oposite issue, but it might help. Please note, I cannot write code, so unfortunatelly, I cannot provide a solution..
http://stackoverflow.com/questions/25298443/force-address-bar-to-show-in-mobile-chrome-app
Edit v2: One method that could potentially work is to use the 'Fullscreen API' and detect every time the user scrolls (using a jQuery method) - then tell the browser to exit fullscreen mode each time to keep the address bar. Bear in mind this is untested so tell me whether you have any luck with this method...
PVince81 commentedon Dec 14, 2015
@owncloud/designers
jancborchardt commentedon Dec 14, 2015
@elpraga since you have a code sample ready, maybe directly prepare a pull request? :)
Also relevant for this is hiding the header automatically on scrolling down, and showing it again on scrolling up: #7826
elpraga commentedon Dec 29, 2015
I am sorry to reply so late, @jancborchardt I would love to be able to prepare a pull request, but I cannot code :( The found that code when I was searching the internet about the issue, and I pasted it just in case it could give some hint, it actually does the oposite then what we would need.
I tried to find if someone was trying to solve the same issue for other webpage, but I did not find anything, unfortunatelly, my skills are not high enough to be able to prepare the fix myself. 😢 I apologize..
jancborchardt commentedon Dec 29, 2015
Yeah, no worries. :) Thinking about it too, ivoking fullscreen every time is quite invasive. I would close this as duplicate of #7826
elpraga commentedon Dec 29, 2015
Well, well, well... I gave it another though and some more searching... and I found out that there is an option.. by adding
user can use the menu item in google chrome for Android to add a shortcut to the home screen and the app then appears without the address bar. Then I checked the code of OC and to my surprise it is already there, and it works as expected.
I was about the close the issue, but I just realized that You did it..
jancborchardt commentedon Dec 29, 2015
;) yep, that capability has been added a long time ago. No worries.
lock commentedon Aug 7, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.