andyjac / top_10_albums

Displays top 10 albums for a highlighted musical artist in the browser
0 stars 0 forks source link

Unhighlight text #12

Open andyjac opened 10 years ago

andyjac commented 10 years ago

Chrome unselect issue: when end of highlighted artist is the very end of the text (when the cursor reaches the end of the text on the page), Chrome keeps text selected when user tries to unselect. If user clicks a second time, text unselects as expected.

Steps to reproduce:

  1. Make sure the end of artist name resides at the VERY end of the text (i.e. the very last word(s) on the page).
  2. Highlight full artist name.
  3. Single click somewhere else on the page. Text will remain selected causing the app to remove the album info box only to send a second request to Last FM for the same artist, displaying the box again.
  4. Single click a second time to correctly unselect text and remove the album info box for good.