-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrollview content becoming hidden and application crash #27158
Comments
This issue has been verified Visual Studio Code 1.96.3 (9.0.30 & 9.0.22) about 5 times. Can not repro this issue on Android-arm emulator and Samsung SM-S9010(Galaxy S22). |
Hello, I want to confirm with you: Is your issue reproducible stably?
|
The application crash when I add the 228th item with this emulators settings: Log: log-api21.txt |
About the application crash, verified it using Visual Studio 17.13.0 Preview 2.1 (9.0.30 & 9.0.22). Can repro on Android API 21 emulator, but not repro on API-35 emulator. |
Unfortunatly, despite many tries, I can't create an emulator to reproduce the problem of items disappearing. I'm on Windows so I couldn't test the configurations with ARM processors. |
If it can help the issue can be reproduce on Samsung A336B (Galaxy A33) |
API Level? |
Android 13 (API level 33) |
|
@Eskissimo If you are going to use a BindableLayout with a large number of elements, I recommend switching to using CollectionView. Remember, the Layout does not use virtualization or recycling cells etc. |
@jsuarezruiz I understand for the crash, but the main issue is elements becomes hidden. I know CollectionView is better, but I can't use it because i have an user interface which already have a parent scrollview (the real UI is more complex than the sample project). |
The issue is solved with the version 9.0.40 SR4. Thanks! |
Description
Hello,
On some phones (seems to be reproducible on android-arm phones), if I add an item to a BindableLayout in a scrollview items disappear and then they reappear and finally application crash.
Tested on: Samsung SM-A137F (Galaxy A13)
Similar issue: List View content becomes invisible In Window platform : #26842
Sample project: MauiAppBindable.zip
Android log: android log.zip
Video: https://github.com/user-attachments/assets/9a08625b-4b5c-4b78-a8cc-6d5de57752af
Regards.
Steps to Reproduce
Launch sample project and tap "Add one item" many times.
Link to public reproduction project repository
No response
Version with bug
9.0.30 SR3
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.100 SR10
Affected platforms
Android
Affected platform versions
Android 14
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: