Skip to content

only dismiss editor context menu when scrollTop has changed#65111

Merged
sbatten merged 1 commit intomicrosoft:masterfrom
sbatten:fix/54594
Dec 19, 2018
Merged

only dismiss editor context menu when scrollTop has changed#65111
sbatten merged 1 commit intomicrosoft:masterfrom
sbatten:fix/54594

Conversation

@sbatten
Copy link
Copy Markdown
Member

@sbatten sbatten commented Dec 14, 2018

fixes #54594

This change is to prevent the context menu from dismissing when the scrollTop has not changed (e.g. when CodeLenses are loaded).

@rebornix and I think this should be a safe check as normal intentional scrolling should always move the scrollTop

@sbatten sbatten requested review from alexdima and bpasero December 14, 2018 20:52
@sbatten sbatten self-assigned this Dec 14, 2018
@sbatten sbatten merged commit 15e3946 into microsoft:master Dec 19, 2018
@sbatten sbatten deleted the fix/54594 branch December 19, 2018 17:03
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Menu: Custom context menus sometimes disappear right after opening

3 participants