Skip to content

Account for Android Q Gestural Navigation #32748

@PieterAelse

Description

@PieterAelse

The new Gestural Navigation of Android Q interferes with touch/swipe regions inside any Flutter app. SafeArea doesn't take it into account.

Steps to reproduce:

  • Get a Pixel or any other supported device
  • Enrol to the Q beta program
  • Download/install latest Q beta
  • Go to settings => system => gestures and turn on "Fully Gestural Navigation"
  • Open a Flutter app with a swipeable widget on the left/right and prepare to navigate back 🙃 ...

Example widgets which will be impacted:

  • Pagers
  • Sliders
  • Drawer
  • etc..
  • ...

Google info video which also explains how to get insets natively: https://www.youtube.com/watch?v=Ljtz7T8R_Hk

Screenshot from the video showing the regions:
Screenshot 2019-05-15 at 09 55 13

Metadata

Metadata

Assignees

Labels

customer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: solarisf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions