<?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>207049</bug_id>
          
          <creation_ts>2020-01-31 09:00:05 -0800</creation_ts>
          <short_desc>[iOS] Scroll bugs when focusing on an input with position fixed</short_desc>
          <delta_ts>2022-09-25 22:41:52 -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>Scrolling</component>
          <version>Safari 13</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 13</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pier Bover">pierbover11</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dbates</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>robgreinhard</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1613387</commentid>
    <comment_count>0</comment_count>
    <who name="Pier Bover">pierbover11</who>
    <bug_when>2020-01-31 09:00:05 -0800</bug_when>
    <thetext>1) When an input field is in a fixed position the scroll jumps in an unexpected manner when the user focuses on the input field.

2) When the input is focused and user scrolls the input can disappear from the viewport.

On both bugs the behavior is the same regardless of whether virtual keyboard is visible or not.

I&apos;ve reproduced this on iOS 11.4 on the iPhone simulator. Since I&apos;m on High Sierra I cannot test on other iOS versions. I don&apos;t have access to a real iPhone to test.

I&apos;ve tested on an iPad Pro with iOS 12.4. I could only reproduce #2.

You can see the bug in action here: https://www.youtube.com/watch?v=Daa_ctnhG00

Here is the code to reproduce: https://github.com/PierBover/webkit-ios-input-scroll-bug/blob/master/index.html

Here is the rendered HTML to test: https://htmlpreview.github.io/?https://github.com/PierBover/webkit-ios-input-scroll-bug/blob/master/index.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1613513</commentid>
    <comment_count>1</comment_count>
    <who name="Pier Bover">pierbover11</who>
    <bug_when>2020-01-31 11:45:08 -0800</bug_when>
    <thetext>Just confirmed it on a device with iOS 13:

https://youtu.be/08hHIjoVaYk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1613553</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-01-31 13:23:32 -0800</bug_when>
    <thetext>&lt;rdar://problem/59072462&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901089</commentid>
    <comment_count>3</comment_count>
    <who name="">robgreinhard</who>
    <bug_when>2022-09-25 22:41:52 -0700</bug_when>
    <thetext>I would like to note this is also effecting elements with the content type &quot;position: sticky&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>