fix: Take searchbar height into account for vertical scroll #1478
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Details
Fix bug in #1475 in which search bar height was not taken into account in vertical scrolling logic.
Behavior after this PR:
![Accessibility Insights for Windows - Inspect - Live 2022-11-10 14-14-34](https://user-images.githubusercontent.com/16010855/201217821-805ee741-7c9a-495c-99dc-9cbebdbc79af.gif)
[Description: Gif of AIWin in live inspect mode. User navigates arounds property grid, which has the search bar visible at the top. Navigation is the same as before but horizontal jumps have been removed.]
Motivation
Fix bug
Pull request checklist