You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
When using a md-svg-src in md-icon and this is clicked to trigger a bottom-sheet, firefox stops displaying the page with the error below while chrome works:
"Error: this[0].blur is not a functionangular.element.prototype.blur<@http://localhost:9001/bower_components/angular-material/angular-material.js:804:5onShow@http://localhost:9001/bower_components/angular-material/angular-material.js:3644:30InterimElement/self.show/showDone<@http://localhost:9001/bower_components/angular-material/angular-material.js:1847:25processQueue@http://localhost:9001/bower_components/angular/angular.js:13248:27scheduleProcessQueue/<@http://localhost:9001/bower_components/angular/angular.js:13264:27$RootScopeProvider/this.$get</Scope.prototype.$eval@http://localhost:9001/bower_components/angular/angular.js:14466:16$RootScopeProvider/this.$get</Scope.prototype.$digest@http://localhost:9001/bower_components/angular/angular.js:14282:15$RootScopeProvider/this.$get</Scope.prototype.$apply@http://localhost:9001/bower_components/angular/angular.js:14571:13done@http://localhost:9001/bower_components/angular/angular.js:9698:36completeRequest@http://localhost:9001/bower_components/angular/angular.js:9888:7requestLoaded@http://localhost:9001/bower_components/angular/angular.js:9829:1" angular.js:11655consoleLog/<() angular.js:11655$ExceptionHandlerProvider/this.$get</<() angular.js:8596processQueue() angular.js:13256scheduleProcessQueue/<() angular.js:13264$RootScopeProvider/this.$get</Scope.prototype.$eval() angular.js:14466$RootScopeProvider/this.$get</Scope.prototype.$digest() angular.js:14282$RootScopeProvider/this.$get</Scope.prototype.$apply() angular.js:14571done() angular.js:9698completeRequest() angular.js:9888requestLoaded() angular.js:9829
When debugging into it, it looks like firefox gets a different object to blur. While Chrome gets the md-icon, firefox gets the svg object and cannot blur it.
The is the Firefox debug:
and this is chrome:
I cannot provide a codepen/fiddle because I cannot use svg urls there.
element=$mdUtil.extractElementByName(element,'md-bottom-sheet');// Add a backdrop that will close on clickbackdrop=$compile('<md-backdrop class="md-opaque md-bottom-sheet-backdrop">')(scope);backdrop.on('click',function(){$timeout($mdBottomSheet.cancel);});
Might be helpful: When I use the element inspectors in chrome and firefox alike on the icon, and there is a svg element below the md-icon, then I get the md-icon element delivered on chrome and the svg element below it in firefox.
When using a md-svg-src in md-icon and this is clicked to trigger a bottom-sheet, firefox stops displaying the page with the error below while chrome works:
When debugging into it, it looks like firefox gets a different object to blur. While Chrome gets the md-icon, firefox gets the svg object and cannot blur it.
The is the Firefox debug:
and this is chrome:
I cannot provide a codepen/fiddle because I cannot use svg urls there.
The code:
The text was updated successfully, but these errors were encountered: