You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A little bit off topic question but, does anyone know if there is a possibility to preserve the focus on the field after selecting suggestion with mouse click ?
A little bit off topic question but, does anyone know if there is a possibility to preserve the focus on the field after selecting suggestion with mouse click ?
Short description
When I type string that cannot be found in autocomplete I have to press Enter 2 times to submit the form (onKeyPress triggered only for second Enter).
Expected results
Keyboard Enter should submit form if suggestions are hidden.
Actual results
Form is submitted only when you press Enter second time.
Reproduction steps
Type 'fdslPFWLfl,fwWEGRPL,dw,lwPWELFw' in autocomplete
Press Enter
Form is not submitted
Type 8 spaces in autocomplete
Press Enter
Form is not submitted
Additional Information
Ones you pressed Enter 2 times, you can press Enter only 1 time for submission, but if you modify the string, the double Enter behaviour will repeat.
Example: https://codesandbox.io/s/l4z199z459
Related Issue: #184
The text was updated successfully, but these errors were encountered: