GithubHelp home page GithubHelp logo

gampleman / angular-keyboard Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 3.0 684 KB

A user interface toolkit for adding declaratively keyboard navigation to your web apps

Home Page: http://code.gampleman.eu/angular-keyboard/#/api/angular-keyboard

License: MIT License

JavaScript 94.43% HTML 5.57%

angular-keyboard's People

Contributors

gampleman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angular-keyboard's Issues

Error when I click on a dropdownlist with angular-keyboard !

Hello. I use Angular-keyboard with a dropdownlist from bootstrap in an AngularJS directive. Sometimes when i clik on a dropdownlist, i have this message that appear :

TypeError: Cannot read property 'name' of undefined
    at http://code.gampleman.eu/angular-keyboard/grunt-scripts/angular-keyboard.js:1257:35
    at Object.forEach (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.js:332:20)
    at select (http://code.gampleman.eu/angular-keyboard/grunt-scripts/angular-keyboard.js:1252:13)
    at _checker (http://code.gampleman.eu/angular-keyboard/grunt-scripts/angular-keyboard.js:1293:13)
    at getSelection (http://code.gampleman.eu/angular-keyboard/grunt-scripts/angular-keyboard.js:1294:13)
    at Object.$watchCollectionAction [as fn] (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.js:12410:13)
    at Scope.$digest (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.js:12541:29)
    at Scope.$apply (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.js:12806:24)
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.js:14314:36
    at completeOutstandingRequest (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.js:4397:10) 

Here's the partial code in the dropdownlist template :
image

I have found that's the problem is coming when two dropdownlists are in same view and when i click one when the other is open. Have you any idea for this issue?

Honor ng-disabled

I'm using keyboard shortcuts on buttons, and ng-disabled is used to disallow clicking on the button when form is invalid and when few other rules are validated.

Since angular keyboard doesn't check for ng-disabled, i have to write ng-if for keyboard for every button

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.