Bug 162362

Summary: Element which is position:fixed disappears after opening a <select> menu
Product: WebKit Reporter: gsuchomski
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Critical CC: ap, bfulgham, larryboman26, simon.fraser, webkit, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: iPhone / iPad   
OS: iOS 10   
Bug Depends on:    
Bug Blocks: 159753    

gsuchomski
Reported 2016-09-21 14:41:14 PDT
Steps to Reproduce: go to https://bootswatch.com/cerulean/ look out for the form and the select element open the select and watch out fot the fixed navbar which disappears Expected Results: navbar should stay in top of the screen Actual Results: navbar disappears Version: iOS 10.0.1, Safari
Attachments
Chris Rebert
Comment 1 2016-09-21 16:32:27 PDT
Moved from the Summary: > In some cases the elements reappear after closing the helper and some cases the elements seem to be loosing their fixed position and stay on th
Chris Rebert
Comment 2 2016-09-21 16:35:30 PDT
Chris Rebert
Comment 3 2016-09-21 16:36:01 PDT
gsuchomski
Comment 4 2016-09-21 16:36:33 PDT
for a demo see http://www.codeply.com/go/GjrVfpcyEv scroll down to select and watch the navbar disappear on iOS Safari you can see that the navbar is changing its appearance on mostly everytime selecting an input field
Simon Fraser (smfr)
Comment 5 2016-09-22 10:26:39 PDT
This is the usual problem where we disable position:fixed when a form element has focus. I'm hoping to improve this behavior soon.
gsuchomski
Comment 6 2016-09-23 03:13:19 PDT
Hi Simon, it would be OK if the position:fixed is reapplied after closing the input helper but sometimes the position:fixed is not reapplied to the elements and therefore they stick to the relative positions of the page. In my case it destroys the whole navigation of the page. My application is a SPA app and therefore contents of the page are changing while choosing an option of the select element via to iOS Safari input helper. Maybe this has something to do with this misbehaviour.
Simon Fraser (smfr)
Comment 7 2016-09-23 08:14:32 PDT
I think I may have fixed that via bug 150079. It did not make it into iOS 10 though.
Simon Fraser (smfr)
Comment 9 2017-05-29 08:49:02 PDT
This may be fixed in iOS 10.3.
Brent Fulgham
Comment 10 2022-02-08 23:25:06 PST
We believe this is now fixed in iOS 10.3 and beyond.
Note You need to log in before you can comment on or make changes to this bug.