This repository was archived by the owner on Mar 4, 2020. It is now read-only.
fix(Chat): fix handling of onMouseEnter#1903
Merged
layershifter merged 3 commits intomasterfrom Sep 9, 2019
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1903 +/- ##
==========================================
+ Coverage 69.87% 69.89% +0.02%
==========================================
Files 890 890
Lines 7783 7785 +2
Branches 2275 2275
==========================================
+ Hits 5438 5441 +3
+ Misses 2335 2334 -1
Partials 10 10
Continue to review full report at Codecov.
|
Contributor
|
But how could you previously pass |
lucivpav
reviewed
Sep 9, 2019
| focusZoneDefinition: (chatMessageBehavior as AccessibilityDefinition).focusZone, | ||
| }) | ||
| }) | ||
|
|
Contributor
There was a problem hiding this comment.
How about another test, that will check that a custom onMouseEnter function gets called?
Member
Author
There was a problem hiding this comment.
It's already tested by isConformant test, see handles events transparently.
Co-Authored-By: Pavel Lučivňák <pavel.lucivnak@gmail.com>
Member
Author
layershifter
added a commit
that referenced
this pull request
Sep 13, 2019
* fix(Chat): fix handling of `onMouseEnter` * add changelog entry * Update packages/react/src/components/Chat/ChatMessage.tsx Co-Authored-By: Pavel Lučivňák <pavel.lucivnak@gmail.com> (cherry picked from commit 2eeb285)
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

💥 Issue
Previously
onMouseEnterwas not handled properly, if you will pass customonMouseEnterthe position update will be never called.