p3lim-wow / libdropdown Goto Github PK
View Code? Open in Web Editor NEWWidget library that allows easy implementation of a dropdown menu
License: Other
Widget library that allows easy implementation of a dropdown menu
License: Other
Allows things like listing fonts, font sizes, font flags and whatnot.
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.
It's accessed here, but it's never set.
Right now it's impossible to make menu stay if it's clicked.
Allows things like listing statusbar textures and whatnot.
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.
LubStub? LubeStub, lel ๐:gun:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.