-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Fixes multi line textfield hint text gets ellipsized #148423
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
Conversation
justinmc
left a comment
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.
LGTM but watch out for Google test failures.
Also see this old issue: #46182. It might be nicer to keep the ellipsis if needed but expand to maxLines as suggested there, but I'm not sure how we would implement that exactly. Since this affects accessibility, it probably makes sense to just merge this fix and migrate any broken Google tests.
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.
Nit: Is it worth it to add another test where maxLines is 2 and kLongString is long enough to still be truncated?
|
@chunhtai FYI there are still some failures here. |
|
some update: still looking at google test failure |
|
auto label is removed for flutter/flutter/148423, due to - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
…pdate * master: (168 commits) Fix the scrolling layout deviation of `CupertinoActionSheet` (flutter#149439) Roll Flutter Engine from 60a7bb2 to a6aa5d8 (2 revisions) (flutter#149627) Roll Flutter Engine from ea72558 to 60a7bb2 (2 revisions) (flutter#149623) Place `flutter_gpu` in the package cache. (flutter#149299) Switch to triage-* labels for platform package triage (flutter#149614) Roll pub packages (flutter#149617) Fixes multi line textfield hint text gets ellipsized (flutter#148423) Support failures-only and silent reporters in `flutter test` (flutter#148739) [CupertinoActionSheet] Fix overflow of the overscroll section when the user scrolls far (flutter#149542) Fix InputDecorator.prefixIcon color when disabled (flutter#149595) Added filter callback on dropdown menu (flutter#143939) update generated localized message files in the stocks test app (flutter#148741) Add a simplified SimpleCascadingMenuApp example (flutter#149147) Reland "Prevent LayoutBuilder from rebuilding more than once (flutter#147856)" (flutter#149303) Move some benchmarks from MotoG4 to Mokey (flutter#149567) Roll Packages from d8e8e8c to 11e192a (2 revisions) (flutter#149596) Cleanup triage reports from docs/ (flutter#149545) Roll Flutter Engine from d81edf6 to ea72558 (1 revision) (flutter#149590) Roll Flutter Engine from b0f4d74 to d81edf6 (1 revision) (flutter#149468) Roll Flutter Engine from 40b868e to b0f4d74 (1 revision) (flutter#149467) ...
…pdate * master: (168 commits) Fix the scrolling layout deviation of `CupertinoActionSheet` (flutter#149439) Roll Flutter Engine from 60a7bb2 to a6aa5d8 (2 revisions) (flutter#149627) Roll Flutter Engine from ea72558 to 60a7bb2 (2 revisions) (flutter#149623) Place `flutter_gpu` in the package cache. (flutter#149299) Switch to triage-* labels for platform package triage (flutter#149614) Roll pub packages (flutter#149617) Fixes multi line textfield hint text gets ellipsized (flutter#148423) Support failures-only and silent reporters in `flutter test` (flutter#148739) [CupertinoActionSheet] Fix overflow of the overscroll section when the user scrolls far (flutter#149542) Fix InputDecorator.prefixIcon color when disabled (flutter#149595) Added filter callback on dropdown menu (flutter#143939) update generated localized message files in the stocks test app (flutter#148741) Add a simplified SimpleCascadingMenuApp example (flutter#149147) Reland "Prevent LayoutBuilder from rebuilding more than once (flutter#147856)" (flutter#149303) Move some benchmarks from MotoG4 to Mokey (flutter#149567) Roll Packages from d8e8e8c to 11e192a (2 revisions) (flutter#149596) Cleanup triage reports from docs/ (flutter#149545) Roll Flutter Engine from d81edf6 to ea72558 (1 revision) (flutter#149590) Roll Flutter Engine from b0f4d74 to d81edf6 (1 revision) (flutter#149468) Roll Flutter Engine from 40b868e to b0f4d74 (1 revision) (flutter#149467) ...
…pdate * master: (181 commits) Fix the scrolling layout deviation of `CupertinoActionSheet` (flutter#149439) Roll Flutter Engine from 60a7bb2 to a6aa5d8 (2 revisions) (flutter#149627) Roll Flutter Engine from ea72558 to 60a7bb2 (2 revisions) (flutter#149623) Place `flutter_gpu` in the package cache. (flutter#149299) Switch to triage-* labels for platform package triage (flutter#149614) Roll pub packages (flutter#149617) Fixes multi line textfield hint text gets ellipsized (flutter#148423) Support failures-only and silent reporters in `flutter test` (flutter#148739) [CupertinoActionSheet] Fix overflow of the overscroll section when the user scrolls far (flutter#149542) Fix InputDecorator.prefixIcon color when disabled (flutter#149595) Added filter callback on dropdown menu (flutter#143939) update generated localized message files in the stocks test app (flutter#148741) Add a simplified SimpleCascadingMenuApp example (flutter#149147) Reland "Prevent LayoutBuilder from rebuilding more than once (flutter#147856)" (flutter#149303) Move some benchmarks from MotoG4 to Mokey (flutter#149567) Roll Packages from d8e8e8c to 11e192a (2 revisions) (flutter#149596) Cleanup triage reports from docs/ (flutter#149545) Roll Flutter Engine from d81edf6 to ea72558 (1 revision) (flutter#149590) Roll Flutter Engine from b0f4d74 to d81edf6 (1 revision) (flutter#149468) Roll Flutter Engine from 40b868e to b0f4d74 (1 revision) (flutter#149467) ...
* master: (181 commits) Fix the scrolling layout deviation of `CupertinoActionSheet` (flutter#149439) Roll Flutter Engine from 60a7bb2 to a6aa5d8 (2 revisions) (flutter#149627) Roll Flutter Engine from ea72558 to 60a7bb2 (2 revisions) (flutter#149623) Place `flutter_gpu` in the package cache. (flutter#149299) Switch to triage-* labels for platform package triage (flutter#149614) Roll pub packages (flutter#149617) Fixes multi line textfield hint text gets ellipsized (flutter#148423) Support failures-only and silent reporters in `flutter test` (flutter#148739) [CupertinoActionSheet] Fix overflow of the overscroll section when the user scrolls far (flutter#149542) Fix InputDecorator.prefixIcon color when disabled (flutter#149595) Added filter callback on dropdown menu (flutter#143939) update generated localized message files in the stocks test app (flutter#148741) Add a simplified SimpleCascadingMenuApp example (flutter#149147) Reland "Prevent LayoutBuilder from rebuilding more than once (flutter#147856)" (flutter#149303) Move some benchmarks from MotoG4 to Mokey (flutter#149567) Roll Packages from d8e8e8c to 11e192a (2 revisions) (flutter#149596) Cleanup triage reports from docs/ (flutter#149545) Roll Flutter Engine from d81edf6 to ea72558 (1 revision) (flutter#149590) Roll Flutter Engine from b0f4d74 to d81edf6 (1 revision) (flutter#149468) Roll Flutter Engine from 40b868e to b0f4d74 (1 revision) (flutter#149467) ...
fixes #148353
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.