victory-native
Advanced tools
Comparing version 35.3.0 to 35.3.1
# VictoryNative Changelog | ||
## 35.3.1 (2020-11-10) | ||
- [#611](https://github.com/FormidableLabs/victory-native/pull/611) - Adds a temporary fix for a bug in `react-native-svg` that is causing events on the parent Svg to not be triggered in some circumstances | ||
## 35.3.0 (2020-11-02) | ||
@@ -4,0 +8,0 @@ |
import React from "react"; | ||
import PropTypes from "prop-types"; | ||
import Svg from "react-native-svg"; | ||
import Svg, { Rect } from "react-native-svg"; | ||
import { assign, get } from "lodash"; | ||
@@ -141,2 +141,7 @@ import { View, PanResponder } from "react-native"; | ||
> | ||
{/* | ||
The following Rect is a temporary solution until the following RNSVG issue is resolved | ||
https://github.com/react-native-svg/react-native-svg/issues/1488 | ||
*/} | ||
<Rect x={0} y={0} width={width} height={height} style={{ fill: "none" }} /> | ||
{title ? <title id="title">{title}</title> : null} | ||
@@ -143,0 +148,0 @@ {desc ? <desc id="desc">{desc}</desc> : null} |
{ | ||
"name": "victory-native", | ||
"version": "35.3.0", | ||
"version": "35.3.1", | ||
"description": "Shared libraries and components for Victory", | ||
@@ -50,3 +50,3 @@ "main": "lib/index.js", | ||
"react-native": "~0.60.4", | ||
"react-native-svg": "^9.13.6", | ||
"react-native-svg": "^12.1.0", | ||
"react-native-svg-mock": "^2.0.0", | ||
@@ -53,0 +53,0 @@ "react-navigation": "^1.0.0", |
82460
1399