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

fix(cdk/text-field): Long multiline textfield focus issue #30312

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mistrykaran91
Copy link

When we have long multiline textfield and put cursor on almost an end (For eg. on 3rd last line) the scroll moves up to the top of textarea. This fix will use blur and focus in scrollToCaretPosition method

Fixes #20255

When we have long multiline textfield and put cursor on almost an end (For eg. on 3rd last line) the scroll moves up to the top of textarea. This fix will use `blur` and `focus` in `scrollToCaretPosition` method

Fixes angular#20255
@mistrykaran91 mistrykaran91 requested a review from a team as a code owner January 13, 2025 06:35
@mistrykaran91 mistrykaran91 requested review from mmalerba and wagnermaciel and removed request for a team January 13, 2025 06:35
@mistrykaran91 mistrykaran91 changed the title fix(cdk/text-field): Long multiline textfield focus issue. fix(cdk/text-field): Long multiline textfield focus issue Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(text field): Long multiline text field - scrolled up on input
1 participant