Skip to content

Autosized textarea is unable to Undo on Firefox #16629

Closed

Description

@littlebtc

Reproduction

https://stackblitz.com/edit/cdk-textarea-autosize-issue-demo

Steps to reproduce:

  1. Use Firefox to type, paste, delete into any textarea with matTextareaAutosize
  2. Try Undo in the browser

Expected Behavior

The undo feature in the browser should work as expected.

Actual Behavior

There's no undo option enabled on Firefox.

Environment

  • Angular: 8.1.3
  • CDK/Material: 8.1.1
  • Browser(s): Firefox
  • Operating System (e.g. Windows, macOS, Ubuntu):
    macOS / Debian (Maybe on Windows too)

Activity

  1. crisbeto commented on Jul 30, 2019

    @crisbeto
    Member

    I could reproduce it on Windows as well. I poked around it a bit and the odd part is that it doesn't look like it's the act of resizing the textarea that breaks the undo function. From what I can tell, reading the scrollHeight here is causing it.

  2. added
    P3
    on Jul 31, 2019
  3. KamikazeBot commented on Feb 20, 2020

    @KamikazeBot

    Any chance there is progress on this? It is causing a number of issues for our users

  4. added
    P2
    and removed
    P3
    on May 3, 2020
  5. self-assigned this
    on May 3, 2020
  6. added a commit that references this issue on May 3, 2020
    c27d9ba
  7. angular-automatic-lock-bot commented on Jun 13, 2020

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions