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

Incompatible TextArea and Button configurations #78

Closed
mstijak opened this issue Jan 17, 2017 · 2 comments
Closed

Incompatible TextArea and Button configurations #78

mstijak opened this issue Jan 17, 2017 · 2 comments

Comments

@mstijak
Copy link
Member

mstijak commented Jan 17, 2017

We made a recent change so that buttons do not receive focus on mousedown.
On the other side, by default, TextArea relies on blur event to propagate changes.

The problem occurs when the button is clicked while textarea is focused. Focus stays within the textarea and change is not propagated.

All widgets should work out of the box, so either change the defaults so TextArea submits on every input or focus buttons on click.

@mstijak
Copy link
Member Author

mstijak commented Feb 9, 2017

Maybe a better solution would be to switch move focus to the body instead of just calling e.preventDefault().

@mstijak
Copy link
Member Author

mstijak commented Feb 10, 2017

Resolved: focus moves to the body.

@mstijak mstijak closed this as completed Feb 10, 2017
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