HashtagSell / htsApp

HashtagSell Beta Application
0 stars 0 forks source link

Bug: Highlight all text in sell box, don't press delete, begin typing. #125

Open devinmckinney opened 9 years ago

devinmckinney commented 9 years ago

I only saw this once, and couldn't reproduce it.

  1. Enter ad: "I'm selling my #59 stratocaster for $1600 obo @Guitar Center"

    worked as expected, as did $. @ did nothing.

    Normally I see guitar centers come up, and type "San" and get the one on Van Ness.

  2. When I typed the "@" sign, there was no color shading for location or drop down menu type ahead. I carefully backspaced to clear the @, then tried again. Nothing. About the third or fourth time I did that, it finally took and I got the color shading and drop down menu.
that1guy commented 9 years ago

Here's the issue I think you're describing. Steps to reproduce.

  1. Type @ to specify a location
  2. Highlight the location OR the entire ad.. it doesnt matter.
  3. Don't press the delete button to clear things out and start over but instead just begin typing to write over the highlighted text.
  4. The original location is removed from the text in sell box but the location data is not deleted from sell box object behind the scenes.
  5. Because the sell box only allows one location and the old location is still in the object it does allow user to insert another location.