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

Apply directives in order #2446

Closed
Rich-Harris opened this issue Apr 20, 2019 · 1 comment · Fixed by #4156
Closed

Apply directives in order #2446

Rich-Harris opened this issue Apr 20, 2019 · 1 comment · Fixed by #4156
Labels

Comments

@Rich-Harris
Copy link
Member

Currently, on:input event handlers are applied before any event handlers from actions or bindings, regardless of the order in which they're declared. This makes certain tasks (such as input masking) overly difficult.

Demos (which behave differently between Chrome and Firefox):

A solution would be to consistently apply directives in the order in which they're declared. It'll require some rejiggering though.

@Conduitry
Copy link
Member

Re-opening this. The second example works well (for me, in Firefox) now in 3.16.6 - but the first one isn't. I'm still getting lower-case letters. The action works properly if the bind: is removed. Do we also need to update how we're applying actions? cc @tanhauhau

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

Successfully merging a pull request may close this issue.

2 participants