flpvn / wittytwitter

Automatically exported from code.google.com/p/wittytwitter
0 stars 0 forks source link

Clicking on a tweet scrolls the tweets to the top #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the experimental build of witty
2. scroll down
3. click on a tweet

What is the expected output? What do you see instead?
I expect to select that tweet, but I end up getting popped upto the top.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by james.deville on 21 Jan 2009 at 12:34

GoogleCodeExporter commented 9 years ago
I don't have the explanation as to why yet, but "Tabs_SelectionChanged" is being
triggered each time a tweet is clicked which runs lines 1626 and 1627 in
MainWindow.xaml.cs, scrolling to the top of the window. Comment these out and 
you're
golden.

Obviously if we are on the same tab, this event shouldnt be triggered. If I 
have time
later I'll look into it further.
Cheers

Original comment by geee...@gmail.com on 21 Jan 2009 at 2:00

GoogleCodeExporter commented 9 years ago
Fixed (revision 413 check-in). Have to check e.Source for nested selectable 
objects: 
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/6c89846b-9d3b-48d7-be4e
-
bc202c03094d/

Original comment by jongallo...@gmail.com on 21 Jan 2009 at 7:35