Skip to content

Don't trim typed input so that user's typing is not disrupted #35

Merged
merged 1 commit into from Sep 15, 2012
Commits on Jul 12, 2012
  1. Don't trim typed input so that user's typing is not disrupted

    Danny Olson & Yan Pritzker committed Jul 11, 2012
    If the user types 'foo ' with a space, and the ajax call comes back
    successfully, it replaces the 'foo ' with 'foo' (trimmed).
    
    This causes inconsistent user experience as the user may have simply
    paused while typing a space, and the space is then removed, mangling
    his input. Note that this fix simply avoids trimming the user's visual
    input, while still sending a trimmed value to the server.
Something went wrong with that request. Please try again.