Closed TimKJones closed 11 years ago
This happens because I refresh the messages for the currently selected conversation each time the drop down is clicked. I did this because I wanted the messages to always pull in fresh content. Like what goes wrong? Should I switch it so if you click on the dropdown again it won't reload?
I think reloading is the desired behavior, but it needs to wipe out everything in the conversation box before it pulls the fresh content once again. If the conversation is 3 lines long, and I click it five times, I'll get 15 lines of conversation. It just appends the entire conversation to whatever is in the box. If it takes more than 15 minutes to fix, I would put this bug below others though.
interesting, I'm trying to replicate it on my localhost build and am having no success. I'm not sure how this would be happening as when I click the drop down item, I clear the contents of the message window before I load in new content.
Here's what I got. You can tell the scroll bar is pretty big, but the only messages in the conversation are the first three that are visible.
Click on the message in the drop down from the dashboard several times in a row. You'll see several copies of the the whole thread get loaded in the conversation box.