Skip to content
New issue

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

disabled property defined makes scroll inactive on IE #118

Open
Toilal opened this issue Feb 11, 2016 · 2 comments
Open

disabled property defined makes scroll inactive on IE #118

Toilal opened this issue Feb 11, 2016 · 2 comments

Comments

@Toilal
Copy link

Toilal commented Feb 11, 2016

This issue only occurs in Internet Explorer (IE 11.0.9600.17959)

It was quite hard to reproduce because it only occurs when change disabled property from false to true.

Load this plnkr http://plnkr.co/edit/KXK36BEgIKvx8XWP5M40?p=preview and then open the select : Scrollbar is disabled and doesn't work.

@Toilal Toilal changed the title Disable then enable makes scroll inactive on IE disable property defined makes scroll inactive on IE Feb 11, 2016
@Toilal
Copy link
Author

Toilal commented Feb 11, 2016

Replacing disabled property with data-disabled fix the issue.

I'm not sure it's a good idea to use the HTML5 disabled attribute as a property for angularJS directive, as it may conflict with the native implementation of the browser ...

Why not using ng-disabled ? or nya-disabled ?

@Toilal Toilal changed the title disable property defined makes scroll inactive on IE disabled property defined makes scroll inactive on IE Feb 11, 2016
@jonkri
Copy link

jonkri commented Feb 22, 2016

Ah, your issue helped me work around #120 (using data-disabled rather than disabled got rid of the problem). Cheers, mate! :)

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

No branches or pull requests

2 participants