Git Product home page Git Product logo

mifmenu's People

Contributors

creaven avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mifjs mooyah

mifmenu's Issues

KeyNav blocking Keys 1, 4 and 5 once item menu selected

Hi,

Here's how to reproduce the problem (AZERTY keyboard) :

  • Create a menu with keynav.
  • As an item's action, make a textarea appear.
  • Try to type characters under 1, 4 and 5 : & , ' , (.

Nothing happens. Mootools seems to take this as up, right and down

I tried to see if an option was available but it seems that if you have the KeyNav class you're bound to use it in every menu.

Indeed, if you're in the menu, there's no need to deactivate keynav as you won't use your keyboard anyway. But the problem is that you need to deactivate keynav when it closes. The problem is that KeyNav is removed on blur and when you close your menu you never fire the blur event. So i just added a couple of lines in the close function :

    this.hide();
    this.blur();
    var parentItem = this.parentItem;
    while(parentItem){
        parentItem.menu.hide();
        parentItem.menu.blur();
        parentItem = parentItem.menu.parentItem;
    }

I still think that to respect the mootools way, you should add a KeyNav option.
Hope that helps

IE8 : not working

Hi,

It seems i can't make it work under IE8. I've tried to run your demo on IE8 in case i'm doing something wrong and it just doesn't work. I've tried to pinpoint what's going wrong but i haven't been really successful.

I hope you'll be able to do something about it.
Thanks

Documentation doesn't work

I guess everything is in the <title> =)

Index.html renders a blank page. Your <title> node isn't closed. I tried closing it and runing index.html but the page which loads is still empty.

This tools seems great but i'd like to know exactly what i can do with it =).

Thanks.

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.