Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Down arrow stops working after inserting link in Firefox #985

@torjusb

Description

@torjusb

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
When inserting a link in Firefox, the down arrow key stops working temporarily until a new selection has been made. Up, right and left arrow keys work as expected.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
https://jsfiddle.net/m6z0xn4r/116/

  1. Insert a few blank lines
  2. Add some text to the first line, and make it a link.
  3. Immediately after clicking 'Add Link', click the down arrow.

What is the expected behavior?
Cursor to move down to the next line.

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
I'm able to reproduce this issue in Draft.JS 0.10.0 and 0.9.1 in Firefox (53.0). I've tested on Mac OS 10.12.3.

Metadata

Metadata

Assignees

No one assigned

    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