Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

AngularJS 1.4.3 TypeError: Cannot read property 'style' of undefined #1128

Closed
ghost opened this issue Aug 6, 2015 · 11 comments
Closed

AngularJS 1.4.3 TypeError: Cannot read property 'style' of undefined #1128

ghost opened this issue Aug 6, 2015 · 11 comments

Comments

@ghost
Copy link

ghost commented Aug 6, 2015

Hi,

When selecting in single or multiselect i get TypeError: Cannot read property 'style' of undefined at Object.fn (select.js:1024).

I am running AngularJS 1.4.3, im guessing dropdown = angular.element(element).querySelectorAll('.ui-select-dropdown'); cant find correct element. Any ideas?

{{$item.Name}}
@palpalani
Copy link

We are also getting similar issue, when using with AngularJS 1.4.3:

TypeError: Cannot read property 'style' of undefined at Object.fn (select.js:1047) at Scope.$digest (angular.js:15683) at Scope.$apply (angular.js:15951) at HTMLDivElement.<anonymous> (angular.js:23303) at HTMLDivElement.eventHandler (angular.js:3271)

@cjroth
Copy link

cjroth commented Aug 19, 2015

+1, Angular 1.4.4

@cjroth
Copy link

cjroth commented Aug 19, 2015

Just submitted a PR to fix it. Link: #1154

@CrlsMrls
Copy link

@cjroth verified your fix and it works on Angular 1.4.4

@cjroth
Copy link

cjroth commented Sep 3, 2015

Thanks @carlos.

@CrlsMrls
Copy link

Do you know when is this issue being merged?

@IgorAufricht
Copy link

+1

2 similar comments
@ghost
Copy link

ghost commented Oct 29, 2015

+1

@aghreed
Copy link

aghreed commented Nov 6, 2015

+1

@GregePorter
Copy link

+1
I am seeing this issue in IE with Angular 1.4.4

@wesleycho
Copy link
Contributor

Post a reproduction if it is still an issue - the main fix already made it in master that I've seen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants