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

Selection controls #196

Merged
merged 6 commits into from Feb 24, 2022
Merged

Selection controls #196

merged 6 commits into from Feb 24, 2022

Conversation

bdlukaa
Copy link
Owner

@bdlukaa bdlukaa commented Feb 22, 2022

Pre-launch Checklist

  • I have run dartfmt on all changed files
  • I have updated CHANGELOG.md with my changes
  • I have run "optimize/organize imports" on all changed files
  • I have addressed all analyzer warnings as best I could
  • I have added/updated relevant documentation
  • I have run flutter pub publish --dry-run and addressed any warnings

@@ -119,9 +117,7 @@ class _FluentTextSelectionControlsToolbar extends StatefulWidget {
}

class _FluentTextSelectionControlsToolbarState
extends State<_FluentTextSelectionControlsToolbar>
with SingleTickerProviderStateMixin {
late AnimationController _ac;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the animation controller since it's no longer used on Win UI 3

Copy link
Collaborator

@WinXaito WinXaito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work !

The cursor color doesn't follow accent color:
cursor_color

And: cursorHeight property has no effect

And the others point are certainly flutter-related:

  • Customize cursorBlink speed ?
  • Triple clic selection
  • Right clic outside the selection deselect the content

And maybe doc ? 😅

@bdlukaa
Copy link
Owner Author

bdlukaa commented Feb 24, 2022

And maybe doc ? 😅

Documentation is already provided for the selection controls. TextBox already uses fluentSelectionControls by default, so I don't think it should be documentated

@bdlukaa
Copy link
Owner Author

bdlukaa commented Feb 24, 2022

The cursor color doesn't follow accent color:

It should be the inactive color tho

@WinXaito
Copy link
Collaborator

It should be the inactive color tho

Anyway, just no "blue" if the accent color is other ;)

@bdlukaa bdlukaa merged commit 8cc158f into master Feb 24, 2022
@bdlukaa bdlukaa deleted the selection-controls branch February 24, 2022 17:10
dev-hann added a commit to dev-hann/fluent_ui that referenced this pull request Sep 18, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants