Skip to content

syn.type() with [escape] string does press escape, but also appends escape text #198

@mvorisek

Description

@mvorisek

v0.15.0 / latest

repro:

  1. create a page with some <input control` (or download https://dev.atk4.org/demos/javascript/vue-component.php source)
  2. include syn.js
  3. in developer console eval window.syn.type($('input[name=atk_fp_country__name]')[0], '[escape]', function () {})
  4. notice the esc key is pressed (=detected by JS), but the input value flashes with escape text appended shortly, which is not expected nor normally appended by a native event

image

PS with [backspace] I do not observe a simillar problem.

@justinbmeyer any idea how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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