nya-bootstrap-select icon indicating copy to clipboard operation
nya-bootstrap-select copied to clipboard

disabled property defined makes scroll inactive on IE

Open Toilal opened this issue 8 years ago • 2 comments

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 avatar Feb 11 '16 14:02 Toilal

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 avatar Feb 11 '16 15:02 Toilal

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

jonkri avatar Feb 22 '16 00:02 jonkri