-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
[ComposeApp] Improve touch region area of input fields, Remove focus from fields on sharing image #296
[ComposeApp] Improve touch region area of input fields, Remove focus from fields on sharing image #296
Conversation
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.
@yogeshpaliyal nice one 👍🏻. Everything looks good, just a comment
@@ -81,6 +82,7 @@ fun BasicNotyTextField( | |||
) | |||
} | |||
BasicTextField( | |||
modifier = Modifier.fillMaxWidth(), |
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.
@yogeshpaliyal Let this modifier be provided from the function parameter so that we can configure it as per our need and reuse it.
Reuse modifier of this function and make it like this
BasicTextField(
modifier = modifier,
decorationBox = { inlineField ->
Box { // Move outer box to decorationbox
AnimatedVisibility(...) {}
inlineField()
}
}
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.
okay
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.
@PatilShreyas Added textFieldModifier
param in BasicNotyTextField
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.
Okay
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.
LGTM @yogeshpaliyal, Thanks for this PR 😃. merging...
closes #284 , closes #283
Checklist