Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #287 from FormidableLabs/bug/touch-action
Browse files Browse the repository at this point in the history
allow users to override touchAction style
  • Loading branch information
boygirl authored Aug 9, 2017
2 parents 96ae174 + c1a2fe1 commit 468c979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/victory-container/victory-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default class VictoryContainer extends React.Component {
render() {
const { width, height, responsive, events } = this.props;
const style = responsive ? this.props.style : omit(this.props.style, ["height", "width"]);
const touchStyle = assign({}, style, { touchAction: "none" });
const touchStyle = defaults({}, style, { touchAction: "none" });
const svgProps = assign(
{
width, height, role: "img",
Expand Down

0 comments on commit 468c979

Please sign in to comment.