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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25215</bug_id>
          
          <creation_ts>2014-03-31 09:47:54 +0000</creation_ts>
          <short_desc>Tweak to example 1 and what element touch-action is applied to</short_desc>
          <delta_ts>2014-06-02 23:03:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>PointerEventsWG</product>
          <component>Pointer Events specification</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick H. Lauke">redux</reporter>
          <assigned_to name="Jacob Rossi [MSFT]">jrossi</assigned_to>
          <cc>public-pointer-events</cc>
          
          <qa_contact name="Pointer Events Bugzilla list">public-pointer-events-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103160</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick H. Lauke">redux</who>
    <bug_when>2014-03-31 09:47:54 +0000</bug_when>
    <thetext>Currently, example 1 starts with

&lt;style&gt;
  /* Disable intrinsic user agent touch behaviors (such as panning or zooming) so 
  that all events are given to the application instead. */
  
  html { 
    touch-action: none; 
  }
&lt;/style&gt;

Personally, I find this a little heavy-handed and &quot;dangerous&quot;. I&apos;ve usually advocated applying touch-action (and before that, in touch events, preventDefault) more &quot;surgically&quot; just to the elements where it&apos;s needed, to avoid developers cargo-culting overly broad snippets of css/js that kill all browser defaults for everything.

I&apos;d suggest applying it just to the canvas element in this example.

...
canvas {
  touch-action: none;
}
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107164</commentid>
    <comment_count>1</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2014-06-02 23:03:50 +0000</bug_when>
    <thetext>Really good bug to fix as IE and Chrome have been seeing compat issues with sites that apply touch-action to heavy handed.

Fixed as suggested: https://dvcs.w3.org/hg/pointerevents/rev/c8ab8227ddcc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>