Skip to content

fix(components): [focus-trap] input selection#10606

Merged
chenxch merged 2 commits intodevfrom
fix/focus-trap_input-selection
Dec 10, 2022
Merged

fix(components): [focus-trap] input selection#10606
chenxch merged 2 commits intodevfrom
fix/focus-trap_input-selection

Conversation

@holazz
Copy link
Copy Markdown
Member

@holazz holazz commented Nov 15, 2022

closes #10601

related to #10518, #10384

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow contributing guide English | (中文 | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 15, 2022

@github-actions github-actions bot added the CommitMessage::Qualified Qualified commit message label Nov 15, 2022
@holazz holazz requested a review from a team November 15, 2022 04:07
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 15, 2022

🧪 Playground Preview: https://element-plus.run/?pr=10606
Please comment the example via this playground if needed.

@tolking tolking linked an issue Nov 18, 2022 that may be closed by this pull request
@chenxch
Copy link
Copy Markdown
Member

chenxch commented Nov 19, 2022

555
The cursor is supposed to be at the end.

@holazz
Copy link
Copy Markdown
Member Author

holazz commented Nov 20, 2022

@chenxch This doesn't seem to be a problem caused by this change, I will investigate it. 🤔

@jw-foss
Copy link
Copy Markdown
Member

jw-foss commented Nov 21, 2022

Should we include @Giwayume for reviewing this?

@jw-foss jw-foss requested a review from Giwayume November 21, 2022 14:27
@holazz
Copy link
Copy Markdown
Member Author

holazz commented Nov 22, 2022

Should we include @Giwayume for reviewing this?

That's great, I'd like to hear from Giwayume.

@Giwayume
Copy link
Copy Markdown
Collaborator

I can't really think of a problem with the PR in its current state. Whether or not the full text is selected or not when focus is returned to an element is more of a question of usability, not really an issue with accessibility.

@chenxch chenxch merged commit 5a58f4e into dev Dec 10, 2022
@chenxch chenxch deleted the fix/focus-trap_input-selection branch December 10, 2022 12:15
@element-bot element-bot mentioned this pull request Dec 16, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CommitMessage::Qualified Qualified commit message

Projects

None yet

5 participants