Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Replace selectable text #723

Closed
wants to merge 24 commits into from

Conversation

OlegZaimNLT
Copy link
Contributor

@OlegZaimNLT OlegZaimNLT commented Jun 30, 2022

Removed all SelectableText. Added a SelectionArea per MaterialApp and one for settings.
Fixes #698
Clone #699

OlegZaimNLT and others added 20 commits May 26, 2022 18:54
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.12 to 2.1.14.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@27ea8f8...41a4ada)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…ub/codeql-action-2.1.14

Bump github/codeql-action from 2.1.12 to 2.1.14
…lectable-text

� Conflicts:
�	lib/studies/rally/login.dart
�	test_goldens/goldens/demo_desktop_dark.png
�	test_goldens/goldens/demo_desktop_light.png
�	test_goldens/goldens/shrine_desktop.png
�	test_goldens/goldens/shrine_mobile.png
@OlegZaimNLT
Copy link
Contributor Author

OlegZaimNLT commented Jul 8, 2022

@guidezpl Hey, could you check what happen with the test checks?

@guidezpl
Copy link
Member

guidezpl commented Jul 8, 2022

I don't have bandwidth to investigate at the moment. I encourage you to try to repro the error locally.

@guidezpl
Copy link
Member

@chunhtai, do you have a clue as to the following error?

[APP] Bad state: A RenderObject does not have any constraints before it has been laid out.
[APP]     at Object.wrapException (http://localhost:9999/main.dart.js:8823:17)
[APP]     at RenderParagraph.get$constraints (http://localhost:9999/main.dart.js:129964:17)
[APP]     at RenderParagraph.getBoxesForSelection$1 (http://localhost:9999/main.dart.js:131589:107)
[APP]     at _SelectableFragment.get$_paragraph$_rect (http://localhost:9999/main.dart.js:132050:20)
[APP]     at _SelectableFragment.getTransformTo$1 (http://localhost:9999/main.dart.js:132025:57)
[APP]     at _SelectableRegionContainerDelegate._compareScreenOrder$2 (http://localhost:9999/main.dart.js:166659:49)
[APP]     at tear_off.<anonymous> (http://localhost:9999/main.dart.js:9142:45)
[APP]     at Object.Sort__insertionSort (http://localhost:9999/main.dart.js:7981:37)
[APP]     at Object.Sort__doSort (http://localhost:9999/main.dart.js:7971:11)
[APP]     at Object.Sort_sort (http://localhost:9999/main.dart.js:7967:9)

@chunhtai chunhtai self-requested a review July 18, 2022 17:54
@chunhtai
Copy link

it looks like some layout order issue, it looks like some components are not laid out with in the same frame they were added to the widget tree. It will be good if there is a minimum repro

@chunhtai
Copy link

chunhtai commented Jan 4, 2023

I think we will no longer need this once this is fixed flutter/flutter#104547

@chunhtai chunhtai closed this Jan 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace SelectableText with a small number of SelectableAreas
3 participants