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

Cannot use Custom Dialog with target alignment in an App Level Action Block #5461

Open
2 tasks done
SebyOnGitHub opened this issue Feb 20, 2025 · 1 comment
Open
2 tasks done
Assignees

Comments

@SebyOnGitHub
Copy link

Can we access your project?

  • 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

The screen just gets darker, the custom dialogue is not visible.
We use different dialogs many times in our software. Having an action block to call these dialogs would clean up a lot. But when used in an action block, it does not work because of this bug.

Expected Behavior

The custom dialogue should open as if you were calling it directly.

Steps to Reproduce

  1. Create a new project.
  2. Create a new component and give it a design.

Image

  1. Create a new app-level action block called "openDialogue", which opens a custom dialogue with target alignment.

Image

Image

  1. Add a button to the home page that calls this action block.
    (The button on the right calls the Custom Dialog directly without using a App Level Action Blog)

Image

Reproducible from Blank

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

Bug Report Code (Required)

IT4Ols/l6ot1xdtK0LqBbe9VniAsJnI5U6xMmMFEVQAjfZfNGu4MPsneVFRuZry+TG9beWajjn8KxvfqjdnEVvcEPSeWfZxm1ZdyYBXJXmambLq1EZarfW1SL5hXIEyl56SrhyVSPs1hdFpl72aYNequSjLdQ+fGPUYZGcqbJdeK2SrDX1iXc2URm05KZDPz

Visual documentation

Visual Documentation is in the Steps to Reproduce.

Environment

- FlutterFlow version: v5.2.1+
- Platform: Web
- Browser name and version: Chrome 122.0.6261.129
- Operating system and version affected: Windows 10

Additional Information

No response

@SebyOnGitHub SebyOnGitHub added the status: needs triage A potential issue that has not been confirmed as a bug. label Feb 20, 2025
Copy link
Collaborator

Hello!

Thank you for bringing this to our attention. Some action properties may not always work as expected with App Action Blocks. While the Alert Dialog action seems to function correctly, the Alignment property appears to be one that doesn’t integrate well with the logic of App Action Blocks.

I’ll check with the team internally to confirm whether this is the intended behavior or a potential bug. From what I know so far, this is likely not classified as a bug, but rather a limitation in how certain properties interact within App Action Blocks.

I appreciate your patience and will update you once I have more information.

@Alezanello Alezanello self-assigned this Feb 20, 2025
@Alezanello Alezanello removed the status: needs triage A potential issue that has not been confirmed as a bug. label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants