Skip to content

Nativescript 5 angular animation affecting margin and padding of the inner component #1643

Open
@gogoout

Description

@gogoout

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: playground
  • Cross-platform modules: "tns-core-modules": "5.0.1"
  • iOS Runtime: 5.0.0
  • NativeScript-Angular: 6.2.0 also 7.0.2
  • Angular: 6.1.10 aslo 7.0.0

Describe the bug
It seems when having a transform animation changes on left/top. The padding/margin is cut off from the inner component.

img_1144

To Reproduce

  • Open the app
  • Click Toggle button
  • See the left padding/margin gets cut off

Expected behavior
The left padding/margin should be there

Sample project
https://play.nativescript.org/?template=play-ng&id=5Wu3ZR&v=5

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions