Conversation
|
Component perf results:
|
|
common/changes/office-ui-fabric-react/checkForNoWrapFix_2019-06-21-05-14.json
Outdated
Show resolved
Hide resolved
|
@JasonGore could you please take a look at this community contribution and help review. @cvirendra thank you for opening your first pull request on our repo! |
JasonGore
left a comment
There was a problem hiding this comment.
It's odd that the Fabric examples page doesn't show this behavior, but the Codepen does. I think it has something to do with the coordinates being non-zero for the Codepen.
I checked the solution locally using npm run codepen to be able to run the provided example and agree that the problem is that they are string comparisons, as well as parseFloat fixing the issue:
Thanks for the fix!
|
🎉 Handy links: |
* fix checkForNoWrap * add change file * revert unintented change * revert unintented change * add new line to change file * PR feedback

Pull request checklist
Description of changes
Convert strings to floating point before using.
Focus areas to test
(optional)
Microsoft Reviewers: Open in CodeFlow