This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Fix focus management for text fields #51009
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d2e4ccc
Make sure the elements can't be reached by keyboard
tugorez ea09d6e
Move the focus to the <flutter-view /> instead of blur.
tugorez edab1dc
Add listener to the subscription (otherwise never gets cleaned up).
tugorez 8bbc206
Delay the input removal
tugorez ed2f851
Prevent default on pointer down on flutter views
tugorez 78521ec
Format
tugorez 72d3956
Add a test that checks focus goes from one input to another
tugorez 7a6c596
Remove the blur listeners
tugorez 11b7dae
Enable view focus binding
tugorez df75938
Disable view focus binding.
tugorez edfdacf
Add ios awaits
tugorez 7daf2a1
Remove safari desktop delay
tugorez 7e811da
Remove spaces
tugorez c23c944
Bring blur handlers back
tugorez 08ab966
Format
tugorez 8c99cb4
Add mising blur handler
tugorez 153eee4
Remove blur events again lol
tugorez e8cf8e8
Prevent scroll on focus
tugorez 5cf50ac
Make the linter happy
tugorez 6f85439
Disable view focus
tugorez e931fbc
Formatting
tugorez d70596d
Refactor focus active dom element
tugorez e5af604
Enable view focus binding
tugorez e54f9ad
Use handleBlur
tugorez 9a194d3
Apply feedback
tugorez dca6a02
Apply feedback
tugorez 318a2dd
Apply feedback
tugorez 2a6c339
Merge branch 'main' into focus-management-input
ditman e35705e
Do not attach a blur handler on Safari
ditman 39c5c8d
Makes shiftKey in DomKeyboardEvent nullable.
ditman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Enable view focus binding
- Loading branch information
commit e5af604d93afa2a7ec2e5093a8f04709933c08c2
There are no files selected for viewing
This file contains hidden or 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
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.
@ditman we might want to reland these changes but with this one set to false. Not sure what's breaking on the framework side but don't think the rest of these changes is related.
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.
Will take a look!
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.
Reland posted: #53537 /cc @tugorez