Skip to content

Commit

Permalink
fix(icons-react): remove will-change: transform from react icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Apr 3, 2020
1 parent 254eaa0 commit 17b38bc
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ import { getAttributes } from '@carbon/icon-helpers';
import PropTypes from 'prop-types';
import React from 'react';

const defaultStyle = {
willChange: 'transform',
};

const Icon = React.forwardRef(function Icon(
{ className, children, style = {}, tabIndex, ...rest },
ref
Expand All @@ -35,7 +31,6 @@ const Icon = React.forwardRef(function Icon(
}

props.style = {
...defaultStyle,
...style,
};

Expand Down

0 comments on commit 17b38bc

Please sign in to comment.