KEMBAR78
Use IntersectionObserver and resize-detector when possible by as-cii · Pull Request #582 · atom-minimap/minimap · GitHub
Skip to content

Conversation

@as-cii
Copy link
Contributor

@as-cii as-cii commented Mar 30, 2017

As discussed on Slack, atom.views.pollDocument is going to be removed from ViewRegistry soon because of its inefficiency. This pull request takes advantage of resize-detector and the new IntersectionObserver API to detect changes in the minimap element when atom.views.pollDocument can't be found.

/cc: @abe33

@thomasjo thomasjo mentioned this pull request Mar 30, 2017
17 tasks
Antonio Scandurra added 2 commits March 30, 2017 13:07
@abe33 abe33 merged commit ed41ef6 into atom-minimap:master Mar 30, 2017
@abe33 abe33 deleted the poll-document branch March 30, 2017 13:44
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.

2 participants