{"action":"opened","issue":{"url":"https://api.github.com/repos/FormidableLabs/victory-native/issues/353","repository_url":"https://api.github.com/repos/FormidableLabs/victory-native","labels_url":"https://api.github.com/repos/FormidableLabs/victory-native/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/victory-native/issues/353/comments","events_url":"https://api.github.com/repos/FormidableLabs/victory-native/issues/353/events","html_url":"https://github.com/FormidableLabs/victory-native/issues/353","id":345266112,"node_id":"MDU6SXNzdWUzNDUyNjYxMTI=","number":353,"title":"VictoryVoronoiContainer Tooltip Flickers - Android","user":{"login":"cameronRaymondCIBC","id":39095630,"node_id":"MDQ6VXNlcjM5MDk1NjMw","avatar_url":"https://avatars2.githubusercontent.com/u/39095630?v=4","gravatar_id":"","url":"https://api.github.com/users/cameronRaymondCIBC","html_url":"https://github.com/cameronRaymondCIBC","followers_url":"https://api.github.com/users/cameronRaymondCIBC/followers","following_url":"https://api.github.com/users/cameronRaymondCIBC/following{/other_user}","gists_url":"https://api.github.com/users/cameronRaymondCIBC/gists{/gist_id}","starred_url":"https://api.github.com/users/cameronRaymondCIBC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameronRaymondCIBC/subscriptions","organizations_url":"https://api.github.com/users/cameronRaymondCIBC/orgs","repos_url":"https://api.github.com/users/cameronRaymondCIBC/repos","events_url":"https://api.github.com/users/cameronRaymondCIBC/events{/privacy}","received_events_url":"https://api.github.com/users/cameronRaymondCIBC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-27T15:18:11Z","updated_at":"2018-07-27T15:18:11Z","closed_at":null,"author_association":"NONE","body":"# Bugs and Questions\r\n\r\n### Checklist\r\n\r\n* [ ] This is a `victory-native` specific issue. (Issues that _also_ appear in `victory` should be opened [here](https://github.com/FormidableLabs/victory/issues/new))\r\n\r\n* [ ] I have read through the [FAQ](https://formidable.com/open-source/victory/docs/faq) and [Guides](https://formidable.com/open-source/victory/guides/) before asking a question\r\n\r\n* [ ] I am using the latest version of `victory-native`\r\n\r\n* [ ] I have checked to make sure that my versions of `react-native` and `react-native-svg` are compatible with this version of `victory-native`. [Read about version requirements](https://github.com/FormidableLabs/victory-native/blob/master/README.md#peer-dependencies-and-version-requirements)\r\n\r\n* [ ] I've searched open issues to make sure I'm not opening a duplicate issue\r\n\r\n### The Problem\r\n\r\nWhen testing the tooltip on android unless you exactly tap the point. The tooltip flickers, this is the case even if I take out the onTouchEnd function.\r\n\r\n### Reproduction\r\n```\r\n<VictoryChart\r\n        padding={{ top: 50, bottom: 50, left: 60, right: 40 }}\r\n        domainPadding={{ y: [20, 40], x: 7 }}\r\n        theme={InsightsTheme}\r\n        scale={{ x: \"time\" }}\r\n        containerComponent={\r\n          <VictoryVoronoiContainer\r\n            voronoiDimension=\"x\"\r\n            voronoiBlacklist={[\"line\"]}\r\n          />\r\n        }\r\n        events={[\r\n          {\r\n            target: \"parent\",\r\n            eventHandlers: {\r\n              onTouchEnd: () => {} // To allow my custom label component to stay active after onTouchEnd\r\n            }\r\n          }\r\n        ]}\r\n      >\r\n        <VictoryAxis\r\n          dependentAxis\r\n          tickFormat={t => formatNum(t)}\r\n        />\r\n        <VictoryAxis />\r\n        {this.props.dataTwo != null && this.props.dataTwo.length > 1 ? (\r\n          <VictoryGroup\r\n            data={this.props.dataTwo}\r\n            animate={{ onLoad: { duration: 500 } }}\r\n            labels={d => formatNum(d.y)}     \r\n          >\r\n            <VictoryLine\r\n              interpolation=\"natural\"\r\n              labelComponent={\r\n              <VictoryTooltip\r\n                flyoutStyle={{ fill: \"transparent\", stroke: \"transparent\" }}\r\n                x={300}\r\n                y={70}\r\n              />\r\n            }\r\n            />\r\n          </VictoryGroup>\r\n        ) : null}\r\n        <VictoryGroup\r\n          data={this.props.dataOne}\r\n          animate={{ onLoad: { duration: 500 } }}\r\n          labels={d => formatNum(d.y)}\r\n        >\r\n          <VictoryArea\r\n            name=\"line\"\r\n            interpolation=\"natural\"            \r\n          />\r\n          <VictoryScatter\r\n            size={(datum, active) => (active ? 7 : 5)}\r\n            interpolation=\"natural\"\r\n            labelComponent={\r\n            <VictoryTooltip\r\n              flyoutStyle={{ fill: \"transparent\", stroke: \"transparent\" }}\r\n              x={300}\r\n              y={50}\r\n            />\r\n          }\r\n          />\r\n        </VictoryGroup>\r\n      </VictoryChart>\r\n\r\n```\r\n"}}
{"actor":{"display_login":"cameronRaymondCIBC"}}