Code Monkey home page Code Monkey logo

Comments (3)

DoctorG avatar DoctorG commented on August 16, 2024

I had the same problem…

See my fork: https://github.com/DoctorG/kxmenu https://github.com/DoctorG/kxmenu

Not perfect but it works.

On Mar 5, 2015, at 2:41 PM, MKevin3 [email protected] wrote:

Instead of having the menu flash hidden / shown if the menu is already on screen it would be nice to have an isVisible property / method so I can skip reshowing the already visible menu.

I tried doing a simple bit of code checking for _menuView != nil but since that is not set back to nil when the user clicks somewhere off the menu to cancel it this does not work.

Menu needs to track / be notified of being clicked off of so it can do _menuView = nil when that happens.


Reply to this email directly or view it on GitHub #22.

from kxmenu.

MKevin3 avatar MKevin3 commented on August 16, 2024

After I posted I did a bit more work and got it going on my own but I really appreciate you sending the note. 
I also added support for dismissing the menu with animation. Most of that was already there, just needed a little exposure.
Kevin

 On Thursday, March 5, 2015 7:06 PM, "Gregory P. Moore, MD" <[email protected]> wrote:

I had the same problem…

See my fork: https://github.com/DoctorG/kxmenu https://github.com/DoctorG/kxmenu

Not perfect but it works.

On Mar 5, 2015, at 2:41 PM, MKevin3 [email protected] wrote:

Instead of having the menu flash hidden / shown if the menu is already on screen it would be nice to have an isVisible property / method so I can skip reshowing the already visible menu.

I tried doing a simple bit of code checking for _menuView != nil but since that is not set back to nil when the user clicks somewhere off the menu to cancel it this does not work.

Menu needs to track / be notified of being clicked off of so it can do _menuView = nil when that happens.


Reply to this email directly or view it on GitHub #22.


Reply to this email directly or view it on GitHub.

from kxmenu.

DoctorG avatar DoctorG commented on August 16, 2024

Sure. It is a nice popover but could use some tweaking and the ability to easily customize it further would be great.

If you add anything great to it let me know.

On Mar 5, 2015, at 10:12 PM, MKevin3 [email protected] wrote:

After I posted I did a bit more work and got it going on my own but I really appreciate you sending the note.
I also added support for dismissing the menu with animation. Most of that was already there, just needed a little exposure.
Kevin

On Thursday, March 5, 2015 7:06 PM, "Gregory P. Moore, MD" [email protected] wrote:

I had the same problem…

See my fork: https://github.com/DoctorG/kxmenu https://github.com/DoctorG/kxmenu

Not perfect but it works.

On Mar 5, 2015, at 2:41 PM, MKevin3 [email protected] wrote:

Instead of having the menu flash hidden / shown if the menu is already on screen it would be nice to have an isVisible property / method so I can skip reshowing the already visible menu.

I tried doing a simple bit of code checking for _menuView != nil but since that is not set back to nil when the user clicks somewhere off the menu to cancel it this does not work.

Menu needs to track / be notified of being clicked off of so it can do _menuView = nil when that happens.


Reply to this email directly or view it on GitHub #22.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub #22 (comment).

from kxmenu.

Related Issues (20)

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.