Skip to content

fix: Return text content from multiline inputs #552

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

Merged
merged 1 commit into from
Apr 15, 2025

Conversation

mwcampbell
Copy link
Contributor

accesskit_consumer::Node::value doesn't traverse a multiline input's descendants because we don't want to have the potential performance problem of traversing a large document every time a single character is typed. But I'm not aware of any other option on Android, so I changed the text method on NodeWrapper in the Android adapter.

@DataTriny
Copy link
Member

Is there an easy way to test this?

Copy link
Member

@DataTriny DataTriny left a comment

Choose a reason for hiding this comment

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

Looks good codewise.

@mwcampbell
Copy link
Contributor Author

There isn't yet an easy way to test this. There will be soon, when I've made a little more progress on the demo app for my android-view project.

@DataTriny DataTriny merged commit 4b74090 into main Apr 15, 2025
16 checks passed
@DataTriny DataTriny deleted the android-return-multiline-text branch April 15, 2025 19:36
@DataTriny DataTriny mentioned this pull request Apr 15, 2025
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.

2 participants