ng-click $event not working in Mozilla Firefox - angularjs

I was checking the angular doc for ng-click and I found a strange bug in firefox
https://docs.angularjs.org/guide/expression#-event-
The example given in the above link is working in chrome and opera, but it is not showing me $event properties in Mozilla firefox. The version i m using is 33.0.
Please let me know if there is an alternative to user event attribute in Mozilla firefox

I saw that the angularjs version is 1.5 which is not release yet.
Try to use the angularjs 1.4.8 version.

Related

Click Link using Robot Framework doesn't work with Firefox

I'm new with Robot Framework. I made couple of scripts, that I have tested with Chrome and Firefox. With Chrome everything works fine, but with Firefox I have one tricky problem. I try to click link called Post like this:
Click Link link=Post
With Firefox it won't work and I just get following error:
ElementNotInteractableException: Message:
In Chrome, this same test is working fine.
Firefox version is 53.0.3 (64-bit).
Selenium Driver version: 3.4.3
Geckodriver version: 0.16.1
Any suggestions? What can I try?
You can use
Click Element xpath=(//a[text()='Post'])[1]
or there will be different class for mobile and web I guess.
You can add these to narrow down on single element out of two.
Something like:
Click Element xpath=//a[text()='Post']/parent::div[contains(#class,'web')]

Chrome freezes when closing a $uibModal instance

Hej
When testing one of the modal windows on https://angular-ui.github.io/bootstrap/#/modal my chrome browser freezes for about 50 seconds after I close the modal. For this time I can not do anything in that specific browser tab. I can not even scroll.
The console output does not show any errors.
I implemented the component modal in my own web app and the same happens.
Does anybody know about that issue?
Version of angular: 1.5.0
Version of angular-ui-bootstrap: 2.4.0
Version og Google Chrome: 55.0.2883.95 (64-bit)
OS: macOS Sierra 10.12.2
Btw: In Safari everything works fine.
Recently I came across with a similar issue. and Then figure out it's because of the CSS Display:block Attribute check try making it in to null on your modal div. this will take you in to the modal and out from it smoothly.
Hope this will help you some how.

Angular Material broken on chrome version 53.~

I've an web application with AngularJS and Angular Material.
It works fine on Firefox. On chrome, just versions lower then 53.
Firefox
Chrome 52.0.2743.116
Chrome 53.0.2785.116
The error begins when page is scrolled. The fields seems to be fixed.
I searched for any class with any problem, but everything seems to be ok.
I updated material design and angular to the last stable version.

$routeChangeStart getting called multiple times in IE8

We are supporting IE8 browser for our application. Recently we are upgraded angular version from 1.0.8 to 1.2.16
application with newer version works in all browsers however we seen the issue with ngRoute in IE8.
It broadcasts the "$routeChangeStart" multiple times.
$rootScope.$on("$routeChangeStart", (event: ng.IAngularEvent, next, current) => {
});
To identify i have added console.log inside above code it getting called twice in IE8 only.
In angular version 1.0.8 same code snippet gives one time console.log comments in browser console.
Is there any issue with ngRoute (angular version 1.2.16) for IE8 ??
Can you search your project so you don't have any $route.reload() in any file? This would make the application call the $routeChangeStart 2 times.

Angular JS ui-router on Internet Explorer 8

Has anyone gotten the Angular JS ui-router quick-start to run in IE8? The quick start's here:
ui-router quick-start
It's working in chrome but not in IE8.
Thanks!
[Edit]
I have read the ie documentation under angular js but the fix provided doesn't seem to fix the issue (missing forEach method). The fix only addresses issues with angular js and not angular-ui-router.
The only thing that works is from an answer here: AngularJS - IE8 html template. The basically provides an implementation for forEach which is not supported in IE.
Can you try building off of master? There was a pull request merged just after the last release (https://github.com/angular-ui/ui-router/pull/392) that resolved some IE8 issues. Everything else should work fine AFAIK.

Resources