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

fix(select): added check for nativeControl element before calling props.setRippleCenter in NativeControl #478

Merged
merged 2 commits into from
Nov 30, 2018

Conversation

moog16
Copy link

@moog16 moog16 commented Nov 29, 2018

fixes #476

This fixes the issue by only calling NativeControl.props.setRippleCenter() when it is the native element. Potential Issues: A developer cannot access the native element via a ref. However this was already an issue before. Getting this feature would be a new feature and a different PR.

@codecov-io
Copy link

Codecov Report

Merging #478 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #478      +/-   ##
==========================================
- Coverage   96.67%   96.62%   -0.06%     
==========================================
  Files          59       59              
  Lines        1984     1984              
  Branches      234      235       +1     
==========================================
- Hits         1918     1917       -1     
- Misses         66       67       +1
Impacted Files Coverage Δ
packages/select/index.js 100% <100%> (ø) ⬆️
packages/select/NativeControl.js 92.68% <100%> (-2.67%) ⬇️

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 933e85c...b2df374. Read the comment docs.

@moog16 moog16 merged commit 5baad76 into master Nov 30, 2018
@moog16 moog16 deleted the fix/select/firefox-no-select branch November 30, 2018 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants