How does "ScrollView" work with dynamic elements? #8564
Unanswered
Antonio225t
asked this question in
Q&A
Replies: 1 comment 2 replies
-
So, the workaround that I found is by setting the height to this: I originally tried to get the height of a button by putting the "click me to show the content" button in a variable and then doing like |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With "dynamic elements" I mean something like this:
Like a conditional that shows elements.
The issue with this is that when I click the button it does not show the contents... Or more likely... It doesn't show them because the ScrollView's height is stuck at 21px for some reasons.
I basically need to specify
height: 200px;
orpreferred-height: 200px;
and I tried setting it to100%
but it still does not show anything (stuck on 21px height)...How do I make the ScrollView get the remaning height of the window app?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions