View Layout Issues With Component Design #943
Unanswered
tencorvids
asked this question in
Q&A
Replies: 1 comment
-
I do this in my navstack component for my new bubbleo library. I've found that it was handy to manage my own window struct and send This ensures that when they are being "given the stage" that they get a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have a componentized bubble tea application, where I pass all messages through the main model to all components. Each component lives in a package with its own
model
,view
,update
,init
,keys
, andstyles
.After adding a list component with a dynamic list, that changes based on the state of another list, it breaks the entire view. I've tried many things, and I thought it was a style issue. I am struggling debugging the layout due to me thinking of it like the
box-model
of the web, but we don't have those tools... (maybe one day 🤔)Main View
[1]
Commands
component view commented out[2]
Commands
component view added back in[3] Repo link, currently working off the
commands
branch: https://github.com/AndrewVota/at-at/Components
Here are the key points (I believe) of my three components, but I will leave a link to the repo if anyone has the time and is willing to help!
Ports
Style
View
Devices
Style
View
Commands (The Culprit...)
Style
View
Any guidance or input is appreciated, thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions