Skip to content

Conversation

@tomdam
Copy link

@tomdam tomdam commented Dec 21, 2019

Fix for the issue described here: #186

if (foundSelected)
{
AdjustScroll();
DoSelectedVisible();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have disabled scrolling to selected item.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, those calls are redundant since both those methods are called on lines 439 and 440 (AdjustScroll() is called from _Invalidate()). Behaviour is totally same if we would uncomment lines (420-423) but those calls are unnecessary.
I've tested this and it scrolls fine to the selected item.

@Hexman768
Copy link
Collaborator

@tomdam Can you add back that AdjustScroll() method and verify that the fix still resolves the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants