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

Conversation

devversion
Copy link
Member

At the moment we set the z-index of the autocomplete-wrap to 51, that's why it is usable while an open scrollmask
So we only need to disable the scroll events to prevent scrolling when hovering over the autocomplete-wrap

Fixes #6585 Fixes #5230 Fixes #5890 Fixes #6716

@hitigon
Copy link

hitigon commented Jan 7, 2016

nice, it works, resolved my issue #6585

@EladBezalel
Copy link
Member

@topherfangio do you mind assign it to you?

}, false, $scope);
}
} else if (hidden && !oldHidden) {
$mdUtil.nextTick(function () {
$mdUtil.enableScrolling();
if (revertWrapScrollBlocking) revertWrapScrollBlocking();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this also set revertWrapScrollBlocking to null so it doesn't potentially try to do it twice?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that's necessary, because the off events are bound to an unique event function, but I will update it, because it seems to be logical.

@devversion devversion force-pushed the fix/autocomplete-wrap-scroll-zindex branch from 2a18aa9 to f7e8ba2 Compare March 21, 2016 20:43
@topherfangio topherfangio added needs: rebase This PR needs to be rebased on the latest commits from master and conflicts need to be resolved pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Apr 18, 2016
@topherfangio
Copy link
Contributor

LGTM if it can be rebased :-)

At the moment we set the z-index of the `autocomplete-wrap` to `51`, that's why it is usable while an open scrollmask
So we only need to disable the scroll events to prevent scrolling when hovering over the `autocomplete-wrap`

Fixes angular#6585. Fixes angular#5230. Fixes angular#5890.
@devversion devversion force-pushed the fix/autocomplete-wrap-scroll-zindex branch from f7e8ba2 to 5745e38 Compare April 19, 2016 12:12
@devversion devversion removed the needs: rebase This PR needs to be rebased on the latest commits from master and conflicts need to be resolved label Apr 19, 2016
@devversion devversion added this to the 1.1.0 milestone Apr 19, 2016
@devversion devversion deleted the fix/autocomplete-wrap-scroll-zindex branch April 21, 2016 12:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants