Skip to content

Link Dialog - Cursor jumps to end when typing in middle of URL #3839

@tg-ephox

Description

@tg-ephox

Issue Overview

If I try and type in the middle of the UrlInput my cursor jumps to the end

Steps to Reproduce (for bugs)

  1. Select text in paragraph block
  2. Click 'Link' format
  3. Type text or url
  4. Position cursor in middle of url
  5. Type more text
  6. Cursor position jumps to the end

Expected Behavior

Cursor position remains in middle of text where typing

Current Behavior

Cursor position jumps to end when typing resumes in middle of text

Possible Solution

Moving this code which forces the slot to re-render into the render method of fill solves this problem however we're not sure this won't have repercussions...

Screenshots / Video

ezgif com-video-to-gif 8

Related Issues and/or PRs

Todos

  • Tests
  • Documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions