ArthurSonzogni / FTXUI

:computer: C++ Functional Terminal User Interface. :heart:
MIT License
6.73k stars 401 forks source link

Add drop-down menu #204

Closed MattBystrin closed 2 years ago

MattBystrin commented 3 years ago

Hello! It would be really nice to have a drop-down menu widget in lib ! Thanks!

ArthurSonzogni commented 3 years ago

It can easily be build from other components I believe.

I will try to make one. That's a good idea I believe.

ArthurSonzogni commented 3 years ago

Some try:

https://user-images.githubusercontent.com/4759106/132992647-8338d1ba-0a9b-4f8d-a8a4-e364a62827e7.mp4

ArthurSonzogni commented 2 years ago

Some progress: https://www.youtube.com/watch?v=14yGVIX2Tiw

Now with some the "vscroll_indicator" DOM element. Used in this component, but can also be used elsewhere.

MattBystrin commented 2 years ago

@ArthurSonzogni looks cool ! Thank you! Waiting for release !

ArthurSonzogni commented 2 years ago

I merged the patch to the dev branch. There are still minor glitches to fix. I am working on it.