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

feat: introduce focused message input styling using theme #2336

Merged
merged 7 commits into from
Jan 18, 2024

Conversation

khushal87
Copy link
Member

🎯 Goal

The goal of the PR is to introduce customizing the message input focused styling using theme.

🛠 Implementation details

The state is tracked in the focused state variable and the theme focusedInputBoxContainer is introduced so that integrators can override the behaviour.

🎨 UI Changes

Screen.Recording.2023-12-01.at.4.14.49.PM.mov

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

const memoizedAdditionalTextInputProps = useMemo(
() => ({
...additionalTextInputProps,
onBlur: (event: NativeSyntheticEvent<TextInputFocusEventData>) => {
Copy link
Member

Choose a reason for hiding this comment

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

the typing is cool 💯

@santhoshvai santhoshvai merged commit e22b8f1 into develop Jan 18, 2024
6 checks passed
@santhoshvai santhoshvai deleted the message-input-focused-theme branch January 18, 2024 13:01
@github-actions github-actions bot mentioned this pull request Jan 18, 2024
6 tasks
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 5.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants