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(Sticky): accept refs as value for context and scrollContext props #3448

Merged
merged 2 commits into from
Feb 21, 2019

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Feb 20, 2019

This PR makes following changes:

  • Sticky now uses createRef() API internally ⭐️
  • Sticky now accepts a refs created with React.createRef() into context and scrollContext, it's really great simplification 👍

Verified

This commit was signed with the committer’s verified signature.
avkos Oleksii Kosynskyi
@codecov-io
Copy link

codecov-io commented Feb 20, 2019

Codecov Report

Merging #3448 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3448      +/-   ##
==========================================
- Coverage   99.92%   99.89%   -0.04%     
==========================================
  Files         172      172              
  Lines        2819     2820       +1     
==========================================
  Hits         2817     2817              
- Misses          2        3       +1
Impacted Files Coverage Δ
src/addons/Ref/RefFindNode.js 100% <ø> (ø) ⬆️
src/addons/Ref/RefForward.js 100% <ø> (ø) ⬆️
src/modules/Sticky/Sticky.js 98.9% <100%> (-1.1%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f81bfc...9da5e59. Read the comment docs.

@layershifter layershifter added the wip Work in progress label Feb 20, 2019

Verified

This commit was signed with the committer’s verified signature.
avkos Oleksii Kosynskyi
@layershifter layershifter changed the title feat(Sticky): accept refs as value for context prop feat(Sticky): accept refs as value for context and scrollContext props Feb 21, 2019
@layershifter layershifter added enhancement and removed wip Work in progress labels Feb 21, 2019
@layershifter layershifter merged commit 5c7766f into master Feb 21, 2019
@layershifter layershifter deleted the feat/sticky-accept-ref branch February 21, 2019 13:47
@levithomason
Copy link
Member

Released in semantic-ui-react@0.86.0.

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

Successfully merging this pull request may close these issues.

None yet

3 participants