Skip to content

A nested list component item hidden issue #443

Answered by bashbunni
Slahser asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Slahser,

The issue here is that the tea.WindowSizeMsg only gets sent on program start, so when you create a new default list, the list isn't being given a height and width which is why you can't see any items. Here is the diff for the changes needed to get this working:
git diff

Or feel free to see the full files in this gist

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lemmebee
Comment options

Answer selected by Slahser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #417 on September 07, 2022 23:01.