<?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>259770</bug_id>
          
          <creation_ts>2023-08-03 02:53:41 -0700</creation_ts>
          <short_desc>Implement the interactive-widget property in the viewport meta tag</short_desc>
          <delta_ts>2026-04-28 03:09:50 -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>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="BenjaminAster">nimajneb0905</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ajbeaven</cc>
    
    <cc>bfulgham</cc>
    
    <cc>bramus</cc>
    
    <cc>carlos.rgn</cc>
    
    <cc>daginge</cc>
    
    <cc>dzmltzack</cc>
    
    <cc>fmg</cc>
    
    <cc>ik</cc>
    
    <cc>kerim1505k</cc>
    
    <cc>kzrooey</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>sviatsv</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1969411</commentid>
    <comment_count>0</comment_count>
    <who name="BenjaminAster">nimajneb0905</who>
    <bug_when>2023-08-03 02:53:41 -0700</bug_when>
    <thetext>&quot;interactive-widget&quot; is a new property in the viewport &lt;meta&gt; tag that allows control over how and if the viewport is resized when the virtual keyboard on mobile is shown. In 2022, Chromium for Android changed its behavior regarding this to match the behavior of Safari on iOS [1], while also implementing the &quot;interactive-widget&quot; property so that developers can opt out of this new behavior.

Specification: https://drafts.csswg.org/css-viewport-1/#interactive-widget-section

On WebKit-based mobile browsers (i.e. all browsers on iOS), there remains no option to make the viewport resize to the actual visible region when a virtual keyboard is shown; The keyboard simply overlays the webpage with no option for opt-out. In most situations (especially when building web-based chat applications, rich text editors, etc.), it is desirable that the viewport changes to the actual size instead of the keyboard just overlaying the content and scrolling the page.

[1]: https://developer.chrome.com/blog/viewport-resize-behavior/

Related WebKit bugs:
- https://bugs.webkit.org/show_bug.cgi?id=176205
- https://bugs.webkit.org/show_bug.cgi?id=230225</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970473</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-10 02:54:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/113678243&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107261</commentid>
    <comment_count>2</comment_count>
    <who name="">ik</who>
    <bug_when>2025-03-30 01:05:05 -0700</bug_when>
    <thetext>Friendly ping, what&apos;s the WK-team&apos;s position on this? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174753</commentid>
    <comment_count>3</comment_count>
    <who name="">fmg</who>
    <bug_when>2026-01-24 09:17:16 -0800</bug_when>
    <thetext>Another friendly ping. Having proper support for interactive-widget=resizes-content would be important for apps that want to position fixed content at the bottom of the viewport while the keyboard is open - e.g. for a search overlay and such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2185738</commentid>
    <comment_count>4</comment_count>
    <who name="Zakaria Radjah">dzmltzack</who>
    <bug_when>2026-02-27 19:48:16 -0800</bug_when>
    <thetext>At this point I will just ask my clients to use an android phone thank you</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2205315</commentid>
    <comment_count>5</comment_count>
    <who name="">kzrooey</who>
    <bug_when>2026-04-28 03:09:50 -0700</bug_when>
    <thetext>Seriously guys? SERIOUSLY? Can you guys please implement this? My app is looking terrible because the keyboard is just overlaying every input. It was really easy for me on android -- resize-visual . On iOS? forget it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>