-
Notifications
You must be signed in to change notification settings - Fork 81
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
Introduce minimal virtual keyboard support #1259
Introduce minimal virtual keyboard support #1259
Conversation
This reverts commit 691b10e.
import org.w3c.dom.HTMLTextAreaElement | ||
import org.w3c.dom.events.KeyboardEvent | ||
|
||
internal class SynchronizedTextArea( |
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.
minor question. IMO, 'Synchornized' conveys a meaning that it has something to do with safe concurrent usage (at least the first thought was like this).
In this case, maybe it can named something like ShadowTextArea
or TextAreaProxy
?
Or adding a couple of kdoc lines can help quickly clarify the purpose of this class.
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.
I agree let me actually do both - rename it and add some documentation
import androidx.compose.ui.text.input.PlatformTextInputService | ||
import androidx.compose.ui.text.input.TextFieldValue | ||
|
||
class WebKeyboardInputService : PlatformTextInputService { |
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.
does it need to be public? Can it be internal?
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.
no, it is not supposed to be public, will push a fix, thank you for noticing it
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.
Nice!
No description provided.