You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Rename adornment positioning after scrolling (#79303)
When Rename is invoked after scrolling up, the adornment is occasionally
displayed misplaced out of viewport. See
https://developercommunity.visualstudio.com/t/Rename-dialog-opens-up-outside-of-editor/10919621.
This is a regression from #77466, which was a fix for horizontal
clipping but also changed vertical positioning to never be negative.
Unfortunately, when scrolling up, text view's viewport top and bottom
can be negative.
The fix is to remove unnecessary Math.Max on top position value.
0 commit comments