<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>153224</bug_id>
          
          <creation_ts>2016-01-18 23:13:51 -0800</creation_ts>
          <short_desc>Tapping into an &lt;input&gt; within a position:fixed element scrolls to the top of the page</short_desc>
          <delta_ts>2022-04-28 18:31:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Safari 9</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 10</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://output.jsbin.com/qicigu/1</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>159753</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Rebert">webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aklapec</cc>
    
    <cc>bfulgham</cc>
    
    <cc>bugs.webkit.org</cc>
    
    <cc>cdemars86</cc>
    
    <cc>nanjie</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>touko.vk</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1156552</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2016-01-18 23:13:51 -0800</bug_when>
    <thetext>iOS version: 9.2
Testcase: http://output.jsbin.com/qicigu/1
Original Bootstrap bug report: https://github.com/twbs/bootstrap/issues/17497

Steps to reproduce:
1. Open http://output.jsbin.com/qicigu/1 in iOS Safari.
2. Scroll to the bottom of the page.
3. Tap the &quot;Open modal&quot; button.
4. A yellow overlay appears.
5. Tap on the &lt;input&gt; that has the text &quot;Click here&quot;.

Actual result:
The page scrolls to the top, the input becomes focused, and the on-screen keyboard appears.

Expected result:
The input should become focused and the on-screen keyboard should appear.
The scroll position of the page should not change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1156553</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2016-01-18 23:16:22 -0800</bug_when>
    <thetext>No such scrolling occurs in Android Chrome or OS X Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1156559</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2016-01-19 00:23:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/24235301&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1157617</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2016-01-22 01:20:02 -0800</bug_when>
    <thetext>&lt;rdar://problem/19708696&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163448</commentid>
    <comment_count>4</comment_count>
    <who name="Chris DeMars">cdemars86</who>
    <bug_when>2016-02-10 06:36:33 -0800</bug_when>
    <thetext>After you fill out the input and hit done the focus shifts to the background, modal stays up, and the background scrolls.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838997</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-02-08 20:32:19 -0800</bug_when>
    <thetext>(very belatedly) fixed by https://trac.webkit.org/changeset/209867/webkit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1865309</commentid>
    <comment_count>6</comment_count>
    <who name="Nanjie Chen">nanjie</who>
    <bug_when>2022-04-28 18:21:59 -0700</bug_when>
    <thetext>seems that the test case bug still presents as of now 

iOS version: 15.4.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1865313</commentid>
    <comment_count>7</comment_count>
    <who name="Nanjie Chen">nanjie</who>
    <bug_when>2022-04-28 18:31:31 -0700</bug_when>
    <thetext>additional info with the bug still reproducible: 

Mozilla/5.0 (iPhone; CPU iPhone OS 15_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>