Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#17455 closed defect (fixed)

dojox/mobile: adapt to iOS 7: do not try to hide Safari's address bar

Reported by: Adrian Vasiliu Owned by: Adrian Vasiliu
Priority: undecided Milestone: 1.9.2
Component: DojoX Mobile Version: 1.9.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adrian Vasiliu)

In iOS 7, there's no Javascript way anymore to hide Safari's address bar. That is, the window.scrollTo() trick no longer works.

This (unsuccessful) attempt to hide the address bar should be disabled automatically for iOS7+.

Change History (12)

comment:1 Changed 6 years ago by Adrian Vasiliu

Description: modified (diff)
Owner: set to Adrian Vasiliu
Status: newassigned

comment:2 Changed 6 years ago by Adrian Vasiliu <vasiliu@…>

Resolution: fixed
Status: assignedclosed

In efeaaf7b8459c42ecf947b204c9b412f81640e95/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:3 Changed 6 years ago by Adrian Vasiliu <vasiliu@…>

In 632b77e67b7e2b8326d5db433d8e955f36abacde/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:4 Changed 6 years ago by Adrian Vasiliu

Milestone: tbd1.9.2

comment:5 Changed 6 years ago by Adrian Vasiliu

For details about the changes in Safari/iOS 7 (including the address bar change), see for instance http://www.mobilexweb.com/blog/safari-ios7-html5-problems-apis-review .

comment:6 Changed 6 years ago by Colin Snover

What exactly is it that this extra code fixes by making a change that “disables” what is *already* a no-op on ios7?

comment:7 Changed 6 years ago by Adrian Vasiliu

It does not succeed, but is not no-op. Disabling has the purpose to avoid executing code that we know in advance it will not not hide the address bar. The disabling avoids the risk that this unsuccessful attempt interferes with the layout of the app possibly leading to badly sized or badly placed content.

comment:8 Changed 6 years ago by Adrian Vasiliu <vasiliu@…>

In 63fd8e6a31d5e87ed4c949cac7c1b59740fd1d78/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:9 Changed 6 years ago by Adrian Vasiliu <vasiliu@…>

In 32f1f3ffd410ea39949a790f26eb9dde95467a8d/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:10 Changed 6 years ago by Adrian Vasiliu

Resolution: fixed
Status: closedreopened

comment:11 Changed 6 years ago by Adrian Vasiliu

Resolution: fixed
Status: reopenedclosed

comment:12 Changed 6 years ago by Adrian Vasiliu <vasiliu@…>

In f029aa0ffd39e354cc638e538d4a1ec38ce33126/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Last edited 6 years ago by Adrian Vasiliu (previous) (diff)
Note: See TracTickets for help on using tickets.