- From: Lan Wei via GitHub <sysbot+gh@w3.org>
- Date: Tue, 20 Aug 2019 21:11:41 +0000
- To: public-pointer-events@w3.org
SummerLW has just created a new issue for https://github.com/w3c/pointerevents: == Set touch-action to allow web pages opt out Android back gesture == Android Q starts building fully gestural system navigation to replace navigation bar buttons, when we are doing horizontal edge swipe from left or right, the Android system will make Chrome go back. Android provides a Gesture Exclusion Rects API which sets a list of areas where the Android system should not intercept touch or other pointing device gestures, and instead the web pages will consume the touch events and handle the pages as they expect. We are planning to call this API on the elements which are set to be touch-action "none" or "pan-y" without any "pan-x", "pan-left" or "pan-right", so that the touch events are all passed to the web pages and Android will not perform back gesture, or if touch-action is set to "pan-left" or "pan-right", right or left horizontal scrolling gestures are handled by the web pages. The Gesture Exclusion Rects API restricts edge length to 200 dp, so if the element’s height is more than 200 dp, we will make the bottom-most 200 dp as the exclusion region. Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/295 using your GitHub account
Received on Tuesday, 20 August 2019 21:11:43 UTC