Skip to content
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

DropDown Crash! #2547

Open
3 tasks done
DevKursat opened this issue Mar 18, 2024 · 133 comments
Open
3 tasks done

DropDown Crash! #2547

DevKursat opened this issue Mar 18, 2024 · 133 comments
Assignees
Labels
Bug Flutter SDK bug status: confirmed Issue has been reproduced and confirmed as a bug.

Comments

@DevKursat
Copy link

DevKursat commented Mar 18, 2024

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When you select a few items on Apple, it kicks out of the app

Expected Behavior

As in the old update, the user can choose or not choose what he wants and the application should never crash (if the DropDown value is empty, all items should be shown)

Steps to Reproduce

No problem on Android or Web. You need to check iOS. (I cannot test it on the emulator because the Windows application is not released yet. You can use the currently released version to test it.)

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITEeyfLl05NPn7xJ16X1LccwmQMwJFg2a+Y/p+0aRQ0hfLLyOrNzOc7SVxZLYteWe3x+Iln/oHkewPDIvYfDLfpdCyiubr5MwZRXQRXgWlGiMJiyPqiWXWpAM9tnGH6g1p+J2CV4IuluL2AC3FOtfvCdG3qCf9qOYwx5e6fDbOY=

Context

I want my app not to crash on apple it left me in a very difficult situation with my users

Visual documentation

WhatsApp.Video.2024-03-18.saat.05.04.28_c5545f7f.mp4

Additional Info

Project URL: https://app.flutterflow.io/project/zafer-rqs8we?tab=widgetTree&component=GonderiHazirla

Environment

- FlutterFlow version: v4.1 3.19.1
@DevKursat DevKursat added the status: needs triage A potential issue that has not been confirmed as a bug. label Mar 18, 2024
@hariprasadms hariprasadms added status : project specific Bug and removed status: needs triage A potential issue that has not been confirmed as a bug. labels Mar 18, 2024
@DevKursat
Copy link
Author

This is an important bug. Can you let me know when it is resolved and I will send a new update? @hariprasadms

@DevKursat
Copy link
Author

I will send an update today. Is it possible to fix the error today, please? @hariprasadms @takashiff @asmengistu @organicnz

@DevKursat
Copy link
Author

image
When there is no initial value, there must be an empty set

@DevKursat
Copy link
Author

DevKursat commented Mar 20, 2024

Can you please solve these errors quickly? They are not difficult mistakes, but they are very important. I will launch an advertising campaign where I expect an average of 10K to 100K downloads of my app. I'm waiting for you team please! Thank you from now @hariprasadms @takashiff @asmengistu @organicnz

@DevKursat
Copy link
Author

Has the error been resolved? Should I send an update? I can't test the Apple device... @hariprasadms

@matheuspina
Copy link

Has the error been resolved? Should I send an update? I can't test the Apple device... @hariprasadms

I'm having the exact same issue! I noticed it only occurs in long dropdowns, with more than 10 items.

@DevKursat
Copy link
Author

DevKursat commented Mar 20, 2024

DropDown contains 81 items. Is it resolved? . I will submit an update to Apple. I can't test it. (I'm using Windows.) If you're on a Mac, can you test this on a real device, please? @matheuspina

DropDown contains 81 items. Is it resolved now? . I will submit an update to Apple. I can't test it. (I'm using Windows.) If you're on a Mac, can you test this on a real device, please? It crashes in DropDown containing 11 items, I think the reason is in the initial value section.

@DevKursat
Copy link
Author

WhatsApp.Video.2024-03-21.saat.15.39.18_0d53e790.mp4

My users keep bothering me, come on team please! @matheuspina @hariprasadms @takashiff @asmengistu

@DevKursat
Copy link
Author

There is a new update. Has this bug been resolved?

@KeepTrackSolutions
Copy link

We are experiencing the same issue. Can someone please tell us if this has been fixed in the latest release of FlutterFlow? This crashes our entire app and has led to customer complaints!

@DevKursat
Copy link
Author

We are experiencing the same issue. Can someone please tell us if this has been fixed in the latest release of FlutterFlow? This crashes our entire app and has led to customer complaints!

He left me in a difficult situation too.

@mixart
Copy link

mixart commented Mar 22, 2024

Also confirmed and discovered this issue also. Anyone know of any temporary workarounds?

@DevKursat
Copy link
Author

Also confirmed and discovered this issue also. Anyone know of any temporary workarounds?

I think you should add initial value but it worsens the user experience in my application, so I'm waiting.

@KeepTrackSolutions
Copy link

Can someone at FlutterFlow please respond to this bug? It is causing a complete application crash for all of our users when interacting with a drop-down box. Please can you provide an update on when this will be looked or a work-around? @hariprasadms @takashiff @asmengistu @organicnz

@DevKursat
Copy link
Author

Can someone at FlutterFlow please respond to this bug? It is causing a complete application crash for all of our users when interacting with a drop-down box. Please can you provide an update on when this will be looked or a work-around? @hariprasadms @takashiff @asmengistu @organicnz

My users have been giving me a headache for almost a week. It doesn't seem like a very difficult mistake, but I guess the team didn't care yet...

@matheuspina
Copy link

Can someone at FlutterFlow please respond to this bug? It is causing a complete application crash for all of our users when interacting with a drop-down box. Please can you provide an update on when this will be looked or a work-around? @hariprasadms @takashiff @asmengistu @organicnz

Confirm for me, is your dropdown in a component or in a custom dialog? I noticed that i only had this bug when i loaded a long dropdown in a component or custom dialog

@DevKursat
Copy link
Author

Can someone at FlutterFlow please respond to this bug? It is causing a complete application crash for all of our users when interacting with a drop-down box. Please can you provide an update on when this will be looked or a work-around? @hariprasadms @takashiff @asmengistu @organicnz

Confirm for me, is your dropdown in a component or in a custom dialog? I noticed that i only had this bug when i loaded a long dropdown in a component or custom dialog

It crashes both when you dropdown directly on the page or when you dropdown within the component.

@takashiff
Copy link

Hi @DevKursat, I apologize for the delayed response. I've done some testing, and I'm currently unable to reproduce the issue. If possible, could you provide a blank project in which the issue can be reproduced? This will greatly help us in finding the root cause of the issue and deploying a fix. Thank you

@DevKursat
Copy link
Author

Hi @DevKursat, I apologize for the delayed response. I've done some testing, and I'm currently unable to reproduce the issue. If possible, could you provide a blank project in which the issue can be reproduced? This will greatly help us in finding the root cause of the issue and deploying a fix. Thank you

Please test this project on a real iOS device.
https://app.flutterflow.io/project/zafer-rqs8we?tab=appSettings&appSettingsTab=mobileDeployment
https://apps.apple.com/us/app/kürşat/id6466145956?src=AppAgg.com

Also, the update I just sent appears to have been queued for 8 hours.

@DevKursat
Copy link
Author

Could you please let me know as soon as you fix the error? Otherwise my users might kill me @takashiff

@KeepTrackSolutions
Copy link

Can someone at FlutterFlow please respond to this bug? It is causing a complete application crash for all of our users when interacting with a drop-down box. Please can you provide an update on when this will be looked or a work-around? @hariprasadms @takashiff @asmengistu @organicnz

Confirm for me, is your dropdown in a component or in a custom dialog? I noticed that i only had this bug when i loaded a long dropdown in a component or custom dialog

For us we see this in a custom component which is displayed in a bottom sheet. We load the dropdown options from a custom function which returns a list of strings. Note 'Is Searchable' is turned on and 'Fix Position' is turned on. It seems from the code that Is Searchable loads a different module dropdown_button2. Flutterflow team may want to check that the stable version of this has been included and not the prerelease beta!

One option may be to disable search to see if it actually loads the standard Flutter dropdown instead.

@michaelyom
Copy link

Crash happened in dropdowns having many items exactly!

@DevKursat DevKursat mentioned this issue Mar 23, 2024
3 tasks
Copy link
Collaborator

Yes that would be helpful!

@michaelyom
Copy link

Do you know how many items? We are still not able to reproduce this issue. Any additional information would be super helpful

15 items.
The reason for the crash seems to be due to the increased height of the dropdown caused by the number of items, rather than the number of items itself. However, it appears that the crash only occurs in the bottom sheet, and it doesn't seem to be an issue when there are many items in general.

@michaelyom
Copy link

michaelyom commented May 8, 2024

My solution is not a perfect fix. I'm using multiple dropdowns within a Bottom Sheet, and when I select items of all the dropdowns and then go back to the first dropdown to scroll, a crash occurs. While it's not a problem for immediate use, it doesn't seem to be a fundamental solution.

@cnickel76
Copy link

cnickel76 commented May 8, 2024 via email

@cnickel76
Copy link

cnickel76 commented May 12, 2024 via email

@leighajarett leighajarett assigned msusviela and unassigned rzambroni May 13, 2024
Copy link
Collaborator

We've tried to reproduce this several times with multiple people / on multiple devices. Any additional information or steps to reproduce would be super helpful!!

@cnickel76
Copy link

cnickel76 commented May 13, 2024 via email

Copy link
Collaborator

leigha@flutterflow.io 🙂 Can you please include exact steps to reproduce on your project?

@matheuspina
Copy link

leigha@flutterflow.io 🙂 Can you please include exact steps to reproduce on your project?

@leighajarett I shared the project with you on FlutterFlow and sent some instructions to your email. If you have any questions, I am available.

@cnickel76
Copy link

cnickel76 commented May 13, 2024 via email

Copy link
Collaborator

Thank you both!

Copy link
Collaborator

Just as a follow up - we think this may be a bug in Flutter itself. We are planning to upgrade the Flutter version used for FlutterFlow soon and hop that it will resolve this issue. In the meantime, setting maxHeight to some value (like 200) seems to stop the crash.

@michaelyom
Copy link

A more certain solution is to replace the bottom sheet with a regular page since a crash occurs with the dropdown in the bottom sheet. This should help avoid the error as much as possible. Until the bug is completely fixed, for those in a hurry, the best temporary solution seems to be not using the dropdown in the bottom sheet.

@cnickel76
Copy link

cnickel76 commented May 25, 2024 via email

Copy link
Collaborator

We're working on testing the new Flutter version. We're hoping to push to beta this week and prod next week

@cnickel76
Copy link

cnickel76 commented May 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Flutter SDK bug status: confirmed Issue has been reproduced and confirmed as a bug.
Projects
None yet
Development

No branches or pull requests