-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
fix: RankingFloatingActionButton partially off-screen for some translations #5117
Merged
monsieurtanuki
merged 10 commits into
openfoodfacts:develop
from
gmmoraes:bug/ranking_float_action_button_overflow
May 14, 2024
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
efeef68
Bug: wrapping RankingFloatingActionButton inside a Expanded widget an…
53f2d7b
Merge branch 'develop' into bug/ranking_float_action_button_overflow
d854a60
fix: Adding AutoSizeText to FloatingActionButton and adding it to a F…
fca916e
fix: returning RankingFloatingActionButton class comments
7e97946
refactor: Replacing FloatingActionButton for ElevatedButton inside Ra…
f775dbd
fix: Limiting BackToTopButton height to MINIMUM_TOUCH_SIZE and adjust…
78a5eed
Merge branch 'openfoodfacts:develop' into bug/ranking_float_action_bu…
gmmoraes 263a015
fix: Changed the property of a widget from conditional to fixed valu…
7a44eb8
fix: Refactor widget structure from Row to Container
72eef5d
Merge branch 'openfoodfacts:develop' into bug/ranking_float_action_bu…
gmmoraes File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess
IconButton
would make more sense and the code would be less verbose.Would you please try it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we do use the
IconButton
, I believe it will need to be embedded inside anInkResponse
widget for a circular ripple effect and inside aMaterial
widget for background and elevation.Perhaps something like this:
Perhaps it could be added inside a private method that returns a widget:
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gmmoraes My assumption was that it was easy to use (and to maintain) an
IconButton
in order to display a clickable disk with an icon inside. Easier than anElevatedButton
.If it's not the case, don't waste time with the hard to read/maintain solution you've just suggested, and ignore my suggestion about using an
IconButton
.