Skip to content

Nested Text component has incorrect touch area #20645

Closed
@jm-david

Description

@jm-david

Environment

Environment:
  OS: macOS High Sierra 10.13.6
  Node: 9.11.1
  Yarn: Not Found
  npm: 6.3.0
  Watchman: 4.9.0
  Xcode: Xcode 9.4.1 Build version 9F2000
  Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: https://github.com/expo/react-native/archive/sdk-27.0.0.tar.gz => 0.55.2

Description

When the parent Text component has padding, the touch area for any nested Text components is not calculated correctly (ie. padding offset is not applied).

Reproducible Demo

https://snack.expo.io/H1A3ysRH7

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions