-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[ColorRectangle, Sticky] Fixed null root refs #4099
Merged
lambertwang-zz
merged 5 commits into
microsoft:master
from
lambertwang-zz:magellan/fixNullRootRef
Feb 27, 2018
Merged
[ColorRectangle, Sticky] Fixed null root refs #4099
lambertwang-zz
merged 5 commits into
microsoft:master
from
lambertwang-zz:magellan/fixNullRootRef
Feb 27, 2018
Conversation
This file contains 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
joschect
reviewed
Feb 26, 2018
@@ -130,7 +130,7 @@ export class Sticky extends BaseComponent<IStickyProps, IStickyState> { | |||
const isSticky = isStickyTop || isStickyBottom; | |||
|
|||
return ( | |||
<div ref={ this._resolveRef('_root') }> | |||
<div ref={ this._resolveRef('root') }> |
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.
Since this couldn't have possibly worked, let's keep it as _root and make the variable private.
dzearing
approved these changes
Feb 27, 2018
Can this and #4091 go into a 5.55.3? |
Markionium
added a commit
to Markionium/office-ui-fabric-react
that referenced
this pull request
Feb 27, 2018
* master: (28 commits) Scrollable pane sort stickies (microsoft#4111) Allow ScrollablePane to accept native properties. (microsoft#4095) Sticky (microsoft#4091) Applying package updates. [ColorRectangle, Sticky] Fixed null root refs (microsoft#4099) DatePicker: order of callbacks for onSelectDate and onAfterMenuDismiss (microsoft#4092) Applying package updates. Alhenry fix split button props (microsoft#4090) Fixing ComboBox styling by reverting button classname move (microsoft#4088) Update CODEOWNERS Undoing terrible change. [DetailsList] Fixed focus test (microsoft#4087) Added icons package screener test (microsoft#4082) ContextualMenu: Fix ContextualMenuUtility imports (microsoft#4085) [ContextualMenu] Made disabled buttons focusable (microsoft#4074) Convert Check to mergeStyles (microsoft#3880) [DetailsList] Add public focusIndex function (microsoft#3852) ComboBox button should have data-is-focusable="false" (microsoft#4070) Applying package updates. Focus Zone: Allow Tab to Skip Selection (microsoft#4061) ...
chrismohr
pushed a commit
to chrismohr/office-ui-fabric-react
that referenced
this pull request
Apr 17, 2018
* [ColorRectangle, Sticky] Fixed null root refs * Change files * Update Sticky.tsx * Update magellan-fixNullRootRef_2018-02-26-22-26.json * Update magellan-fixNullRootRef_2018-02-26-22-26.json
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.
Pull request checklist
$ npm run change
Description of changes
Fixed null root refs.