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

Enter on suggestion doesn't close suggestion menu if selected phrase is a prefix for different suggested phrase #3177

Open
raphaelsolarski opened this issue Jun 20, 2022 · 0 comments
Labels
bug not on roadmap Nussknacker development team does not plan to work on that in foreseeable future ui

Comments

@raphaelsolarski
Copy link
Contributor

raphaelsolarski commented Jun 20, 2022

Describe the bug
Enter on suggestion doesn't close suggestion menu if selected phrase is a prefix for different suggested phrase.
The only way to close menu with keyboard is to press ESC but it looses focus on field input.

To Reproduce

  1. Create two variables in context where one name is a prefix for second variable name eg. "error" and "errorResponse"
  2. In subsequent node start typing "e" and trigger suggestion (ctr+space)
  3. On suggestion menu select "error" variable and press enter - suggestion will be applied but suggestion menu won't be closed
Screen.Recording.2022-06-20.at.10.03.31.mov

Environment (please complete the following information):

  • OS: Mac os 12.4
  • Nussknacker version 1.5.0-staging-2022-06-20-7885-d1349b2a0dde51eb420e4df17f5e00e243700871-SNAPSHOT
  • Browser type and version: Chrome 102.0.5005.115 (Official Build) (arm64)
@dswiecki dswiecki added ui not on roadmap Nussknacker development team does not plan to work on that in foreseeable future labels Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug not on roadmap Nussknacker development team does not plan to work on that in foreseeable future ui
Projects
None yet
Development

No branches or pull requests

2 participants