-
-
Notifications
You must be signed in to change notification settings - Fork 569
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
Add blur as alias to focus(false) #813
Comments
I am new to open source, can you explain more about it. |
It's implemented. I use this flow when I don't close tasks only add label resolve and close it when code is released. |
Is there an option to conditionally add blur option to terminal? I tried using it like this, but it always keeps terminal focused.
|
Do you want to do that on initialization or when you do something like inside a command? |
I want it to be focused at all times except when other focusable elements on the page are clicked e.g. input or textarea element, then it should switch to blur. |
I don't think you can't do this. Because of Logic. To be able to focus the input you need to blur the terminal you can't prevent something that already happened. But anyway if you need this feature please create a new issue, this is not related to this one. This issue is about adding an alias method. GitHub issues are not a forum where you have discussions about different topics. |
It may be confusing that
term::blur()
does nothing (it's jQuery method$.fn.blur
) so there should be ablur()
that is just an alias for focus(false).Inspired by @AlexCrosby post in discussions #812
The text was updated successfully, but these errors were encountered: