Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onfocus action fires twice in tests with Ember >= 2.5 #20

Open
pgengler opened this issue Aug 26, 2016 · 0 comments
Open

onfocus action fires twice in tests with Ember >= 2.5 #20

pgengler opened this issue Aug 26, 2016 · 0 comments

Comments

@pgengler
Copy link
Contributor

See this example. The twiddle defaults to Ember 2.5.1 (and so the test fails); change it to use Ember 2.4.5 and the test will pass.

When the triggerEvent helper is used to generate a focus event in a test for the <input> in a test, the onfocus action is triggered twice. This is causing problems in our actual app, which triggers the search action on the power-select on focus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant