React-router: React router native: Black background when long press on <Link/>

Created on 22 Aug 2017  路  2Comments  路  Source: ReactTraining/react-router

Please help me to remove it.
This is a screenshot:
https://drive.google.com/open?id=0B7b1B5PgFf-cM1l6S29UYnJ6YlE

Thanks.

"react": "^16.0.0-beta.5",
"react-native": "0.47.1",
"react-router": "^4.1.2",
"react-router-native": "^4.1.1",

Most helpful comment

For what its worth, you are can passed a native component to the <Link component>

import { TouchableOpacity } from 'react-native';

<Link component={TouchableOpacity} to={'/your_path'}> Link to some view <Link />

That should eliminate the back bg on press for anyone else having this issue.

All 2 comments

Just use "component" prop to custom for my app.
Sorry for stupid question.

For what its worth, you are can passed a native component to the <Link component>

import { TouchableOpacity } from 'react-native';

<Link component={TouchableOpacity} to={'/your_path'}> Link to some view <Link />

That should eliminate the back bg on press for anyone else having this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

imWildCat picture imWildCat  路  3Comments

maier-stefan picture maier-stefan  路  3Comments

alexyaseen picture alexyaseen  路  3Comments

hgezim picture hgezim  路  3Comments

tomatau picture tomatau  路  3Comments