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
Hi, there. There is a SrollView that includes a LinearLayout as its root view. The LinearLayout contains a top view and a LithoView. The height of the top view is beyond screen height. The LithoView couldn't be shown when I scrolled up the screen, but I can see it occupies the height I set. Is there something wrong? I'm looking forward to hearing from you. Thank you.
Expected Behavior
The LithoView should be shown when scrolled up the screen. If I set the height of the top view less than screen height, LithoView shows immediately.
You have to perform a manual incremental mount for the LithoView. This part of the docs explains it.
When the visible bounds of the ScrollView change, you have to let Litho know. This snippet of code should solve your issue. Let me know if you have any more questions.
Version
0.39.0
Issues and Steps to Reproduce
Hi, there. There is a SrollView that includes a LinearLayout as its root view. The LinearLayout contains a top view and a LithoView. The height of the top view is beyond screen height. The LithoView couldn't be shown when I scrolled up the screen, but I can see it occupies the height I set. Is there something wrong? I'm looking forward to hearing from you. Thank you.

Expected Behavior
The LithoView should be shown when scrolled up the screen. If I set the height of the top view less than screen height, LithoView shows immediately.

Link to Code
activity_main.xml
`
`
MainActivity.java
`public class MainActivity extends AppCompatActivity {
}`
Demo
QDynamicLib.zip
The text was updated successfully, but these errors were encountered: