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

Wrong horizontal child position with extended FAB #324

Open
deakjahn opened this issue Nov 28, 2023 · 0 comments
Open

Wrong horizontal child position with extended FAB #324

deakjahn opened this issue Nov 28, 2023 · 0 comments

Comments

@deakjahn
Copy link

deakjahn commented Nov 28, 2023

If we have a label wider than the activeLabel, the position of the children will be wrong. They appear correctly aligned to the right of the FAB when the label doesn't change, but when is switches to the shorter active label, the children will retain their position relative to the left, meaning that they will be shifted out of the screen on the right. Just try:

SpeedDial(
  icon: Icons.add,
  activeIcon: Icons.close,
  label: Text('a text longer than the next one'),
  activeLabel: Text('short'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant