You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a tui project and I use list as a sidebar of my project. In my use case I need to change the focus between my sidebar and my main conent.
Like this:
But I realize that list doesn't have Focus()/Blur() function so I have to munually prevent list from handling tea.KeyMsg().
Like this...
So, since table do support Focus()/Blur() function, can we add this function to list? If we can, I'd like to do this job.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a tui project and I use list as a sidebar of my project. In my use case I need to change the focus between my sidebar and my main conent.

Like this:
But I realize that list doesn't have Focus()/Blur() function so I have to munually prevent list from handling tea.KeyMsg().

Like this...
So, since table do support Focus()/Blur() function, can we add this function to list? If we can, I'd like to do this job.
Beta Was this translation helpful? Give feedback.
All reactions