Giter VIP home page Giter VIP logo

Comments (7)

gauntface avatar gauntface commented on April 30, 2024

At the moment the 300ms delay is removed from Chrome stable and I believe FF is looking at removing it as well as looking into supporting touch-action (this is all second hand information so could be wrong).

I'm going to play around with touch-action a little more and bolster what it currently says in the docs.

from webfundamentals.

PaulKinlan avatar PaulKinlan commented on April 30, 2024

@gauntface given our long conversation yesterday where I was wrapping my head around some of this. I feel like by the time this is "officially launched" then we will need something like this. I really like the idea of blocking out an image so that the developer can let them pan and zoom an image independently of scrolling on the page and not have the browser arse about by thinking the user might want to scroll.

The use-case led approach would be for that type of interaction... rather than document touch-action: manipulation on its own.

from webfundamentals.

gauntface avatar gauntface commented on April 30, 2024

@PaulKinlan I agree with use case driven content.

I still need to play around with touch-action more. In WP it makes sense since you often need to add a touch-action to get anything working with pointer event, in Chrome it makes less sense to use - it seems to be a good way to explicitly define what you want touches to do.

Thinking on this, the reason the 300ms delay is removed when a touch-action is applied, is that most touch-action rules will disable double-tap-zoom (i.e. touch-action: pan-y | pan-x | manipulation | none).

from webfundamentals.

jtangelder avatar jtangelder commented on April 30, 2024

The manipulation property isn't in the spec anymore.
http://www.w3.org/TR/pointerevents/#the-touch-action-css-property

Can't find the discussion about it

from webfundamentals.

gauntface avatar gauntface commented on April 30, 2024

Manipulation is in the editors draft here:
https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html

And is supported in Chrome and IE which are the current browsers supporting touch-action.

from webfundamentals.

jtangelder avatar jtangelder commented on April 30, 2024

Yes, i found out that i was reading the wrong document. Oops

from webfundamentals.

gauntface avatar gauntface commented on April 30, 2024

I've updated the content for the touch-action section and included the 300ms removal as well as better descriptions.

Would love any comments and feedback.

3003d09

from webfundamentals.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.