We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to repro:
Open a modal using the code below -
$modal.open({ templateUrl: '<some_url>', backdrop: 'static', windowClass: 'myCustomModalContainerClass' }).opened.then(function() { angular.element('.reveal-modal-bg').addClass('myCustomModalBg'); });
Expected:
angular.element('.reveal-modal-bg')
Actual:
angular.element('.reveal-modal-bg') === []
The text was updated successfully, but these errors were encountered:
I expected the same issue, circumvent it by wrapping angular.element('.reveal-modal-bg').addClass('myCustomModalBg'); into setTimeout( ... , 0)
angular.element('.reveal-modal-bg').addClass('myCustomModalBg');
setTimeout( ... , 0)
Sorry, something went wrong.
No branches or pull requests
Steps to repro:
Open a modal using the code below -
Expected:
angular.element('.reveal-modal-bg')
should refer to the modal bgActual:
angular.element('.reveal-modal-bg') === []
The text was updated successfully, but these errors were encountered: