Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Fixed ExtractToVariable Menu Close Issue due to scrolling#14492

Merged
boopeshmahendran merged 5 commits intoadobe:masterfrom
niteskum:JSRefactorInlineMenuBug
Aug 2, 2018
Merged

Fixed ExtractToVariable Menu Close Issue due to scrolling#14492
boopeshmahendran merged 5 commits intoadobe:masterfrom
niteskum:JSRefactorInlineMenuBug

Conversation

@niteskum
Copy link
Copy Markdown
Collaborator

@niteskum niteskum commented Jul 27, 2018

ping @boopeshmahendran for review

For ExtractToVariable If selection range is not in view It scrolls to bring selected text in view, and It triggers scroll event , and scroll event handler closes all dropdown menu.

so to fix this issue. in Mouse Hover listener of Inline Menu, attached a handler to scroll Event, that reopen the inline Menu. If it has been closed due to scrolling triggered Inline Menu Itself.

@boopeshmahendran boopeshmahendran self-requested a review July 30, 2018 10:14
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.

2 participants