Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix(ChatMessage): focus outline visible only during keyboard navigation #689

Merged
merged 7 commits into from
Jan 11, 2019

Conversation

kolaps33
Copy link
Collaborator

@kolaps33 kolaps33 commented Jan 7, 2019

Fix that focus outline is visible only while user is in keyboard navigation.

@jurokapsiar jurokapsiar added 🚀 ready for review 🧰 fix Introduces fix for broken behavior. labels Jan 8, 2019
@@ -38,12 +40,18 @@ export interface ChatMessageProps

/** Timestamp of the message. */
timestamp?: ShorthandValue

onFocus?: ComponentEventHandler<ChatMessageProps>
Copy link
Member

Choose a reason for hiding this comment

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

Missing description of the prop.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added :)

onFocus?: ComponentEventHandler<ChatMessageProps>
}

export interface MessageState {
Copy link
Member

Choose a reason for hiding this comment

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

Should be ChatMessageState

Copy link
Member

@layershifter layershifter left a comment

Choose a reason for hiding this comment

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

Added small comments, please also add a record to CHANGELOG.md

@layershifter layershifter changed the title Chat message > Focus outline visible only during keyboard navigation fix(ChatMessage): focus outline visible only during keyboard navigation Jan 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧰 fix Introduces fix for broken behavior. 🚀 ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants