Skip to content

Flutter - autocompleting field jumps cursor past trailing comma #2029

Closed

Description

@mccadi

After upgrading to 3.5.0, I noticed that whenever accepting the auto-completer's suggestion when pressing the "return" key, the cursor will jump to the end of the line and past the comma. The usual behavior would stop the cursor immediately to the left of the comma, allowing you to define the field's value.

Activity

  1. Toolenaar commented on Oct 2, 2019

    @Toolenaar

    This is seriously impacting my coding flow atm.

  2. added this to the v3.5.1 milestone on Oct 2, 2019
  3. DanTup commented on Oct 2, 2019

    @DanTup
    Member

    Thanks for the report! I'm able to reproduce this - trying to track down where it's come from and I'll get a patch out. Sorry for the inconvenience!

  4. DanTup commented on Oct 2, 2019

    @DanTup
    Member

    A fix has been published in v3.5.1. Please let me know if you still have any issues like this.

    I've also opened #2030 about extending the tests to check the cursor position for this sort of completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions