Skip to content

Text block with amp-fit-text "sliding" incorrectly when close to minimum limit #3447

@miina

Description

@miina

Bug Description

Text block with amp-fit-text "sliding" incorrectly when close to minimum limit when reducing the size. The positioning changes incorrectly.

Expected Behaviour

Reducing a block's size should not make it "slide".

Steps to reproduce

  1. Create a Text block.
  2. Add some text.
  3. Rotate the block and make it quite wide.
  4. Reduce the size to minimum width from the right handle.
  5. See the block either sliding a bit / making a jump.

Screenshots

jumpiness
https://cloudup.com/cRZMrlUPdy8

See the original conversation in #3397


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

  • Create a Text block.
  • Add some text.
  • Rotate the block and make it quite wide.
  • Reduce the size to minimum width from the right handle.
  • Verify that the block is not "sliding" when reaching minimum limit.

Demo

demo

Changelog entry

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions