Skip to content

Conversation

@justinmc
Copy link
Contributor

@justinmc justinmc commented Apr 6, 2020

Description

If the selection menu buttons are too wide for their available space, they will cause an overflow error. This PR implements the native iOS solution for this problem, which paginates overflowing items.

Related Issues

Closes #35826
Android solution: #49391
Reopened from #52852 to fix weird versioning test failures.

Tests

  • When all buttons fit on one page.
  • When the screen is narrow enough that only two buttons fit on each page.
  • When the screen is narrow enough that only one button fits on each page.
  • When the locale strings are so long that only one button fits on each page and must be ellided.

Breaking Change

None.

failures:

commit 84a584249b356aac99bdda16cb570a1cb5d82717
Merge: 16dd2bb50 d35ade4
Author: Justin McCandless <jmccandless@google.com>
Date:   Mon Apr 6 11:35:54 2020 -0700

    Merge branch 'master' into characters

commit 16dd2bb50454428e6d52dcc74963595109e79ef6
Author: Justin McCandless <jmccandless@google.com>
Date:   Mon Apr 6 09:53:29 2020 -0700

    More detailed comment after researching caret position

commit 9741aa11b9eaf5f0d9a8947dc60a063128960e27
Author: Justin McCandless <jmccandless@google.com>
Date:   Mon Mar 30 10:19:32 2020 -0700

    Error state color shows on textfield at right time with grapheme clusters

commit dee3f094aec392b4ee1e85b58511436e6542890b
Author: Justin McCandless <jmccandless@google.com>
Date:   Fri Mar 27 10:43:02 2020 -0700

    Combine two test files testing the same file

commit 1459a926093721475af91077d5c6f057dba75d35
Author: Justin McCandless <jmccandless@google.com>
Date:   Fri Mar 27 10:38:16 2020 -0700

    Selection is no longer limited to maxLength

commit 540632f92898e7002c0b114bdaaf061d317ac630
Author: Justin McCandless <jmccandless@google.com>
Date:   Fri Mar 27 08:51:08 2020 -0700

    Ran update-packages --force-upgrade

commit 6a9e95773a546a56c5b59e64e938f7499f087d3b
Author: Justin McCandless <jmccandless@google.com>
Date:   Fri Mar 27 08:35:34 2020 -0700

    Grapheme/surrogate tests for truncate

commit ad10bb99ca4ffcbfa68f0b3fc4d830a5a20a108f
Author: Justin McCandless <jmccandless@google.com>
Date:   Thu Mar 26 17:19:35 2020 -0700

    maxLength limits to characters, not runes

commit 42fd9126c74469ac852a0b12be19a597131f5311
Author: Justin McCandless <jmccandless@google.com>
Date:   Thu Mar 26 16:07:33 2020 -0700

    Add characters package and use it for maxLength counter
@justinmc justinmc added a: text input Entering text in a text field or keyboard related problems platform-ios iOS applications specifically framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. f: cupertino flutter/packages/flutter/cupertino repository labels Apr 6, 2020
@justinmc justinmc requested review from GaryQian and goderbauer April 6, 2020 20:50
@justinmc justinmc self-assigned this Apr 6, 2020
@justinmc justinmc requested review from chunhtai and removed request for GaryQian April 6, 2020 20:50
@justinmc
Copy link
Contributor Author

justinmc commented Apr 6, 2020

Fail - I merged the wrong branch to create this. I'll reopen again.

@justinmc justinmc closed this Apr 6, 2020
@justinmc justinmc deleted the characters-2 branch April 6, 2020 21:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: text input Entering text in a text field or keyboard related problems f: cupertino flutter/packages/flutter/cupertino repository f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. platform-ios iOS applications specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

text selection toolbar over flow !

2 participants