Skip to content

Define the order between select and selectionchange #129

@saschanaz

Description

@saschanaz

There is no defined order between them.

  • Mouse drag: selectionchange first and then select.
  • Shift+arrow keys on keyboard: select first and then selectionchange.
  • Selection setter APIs e.g. selectionStart: select first on Gecko, no consistency on Blink (it's racy).

The mouse drag case fires multiple selectionchanges and then a select event at mouseup. I think selectionchange events should be fired before select events to keep it that way.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions