Coder Social home page Coder Social logo

libdropdown's People

Contributors

dependabot[bot] avatar gethe avatar github-actions[bot] avatar ls- avatar p3lim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ls- gethe

libdropdown's Issues

Add the ability to change the checked state of a related line and have the display update"refresh" an open menu

I have a submenu that has two options "hovercast" and "global" that need to be mutually exclusive. When I select one, I need the other one to be disabled just to prevent misconfiguration. This isn't possible without custom code at the moment.

I can update the checked state of the clicked line, but that doesn't cause an update to the other line. I could reorganise the code and then try to manually iterate over all open lines (or find the line) to trigger an update. It would be nice to add a feature that allows me to "refresh" an open dropdown or submenu.

Performance issues after a submenu is opened

Describe the bug
I did some speculative porting of my addon's dropdown to this (for taint reasons, naturally), and I observed some performance issues. Specifically, something about mousing over the lines of the open dropdown causes noticeable framerate stuttering. This doesn't seem to occur until after I've opened a submenu that itself contains a line with a checkbox, though the stutter spreads to the parent menu as well (but I might be over-indexing on limited results here).

How to reproduce
Create a menu with a submenu. Open the submenu. Mouse over the items in either menu, and watch for framerate stutters.

What did you expect?
No framerate issues.

Screenshots
image

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.