Comments (4)
Try using the onLinkPress
prop and see if you can log something from it.
Please paste your HTML string and all the props you're using.
from react-native-render-html.
When i use onLinkPress prop all i can log out is a Proxy object.
Im using html and imagesMaxWidth props.
this is what i see when i log it.
and this is my html string
<p></p><p>ŞEHİR Akademik Arşiv'de yer alan belgelerden yararlanılarak yapılacak ve <strong>basılı ve/veya elektronik ortamlarda yayınlanacak</strong> her türlü çalışmada söz konusu <strong>belgelerin hak sahiplerinden gerekli izni almak çalışmayı yapan kişi ve kurumların sorumluluğundadır.</strong> İstanbul Şehir Üniversitesi hiçbir ticari amaç gütmeksizin kamu kaynaklarının yanı sıra kendi kaynak ve imkanlarını da kullanarak sahip olduğu arşivdeki belgeleri kamuoyuna gösterme görevini yapmaktadır. </p><p>ŞEHİR Akademik Arşiv'de yer alan ancak hak sahiplerince veri tabanında gösterilmesi istenmeyen belgeler bulunduğu taktirde  bu kişilerin tarafımıza yapacakları bilgilendirmeler dikkatle incelenecek ve belgenin kendisi kullanıma kapatılarak sadece belge ile ilgili bibliyografik veriler (metadata) kullanıma sunulacaktır. Halihazırda bu uygulama çeşitli belgeler için yapılmakta olup bu belgelerin yanlarında  <strong>kilit</strong> işareti bulunmaktadır ve bu belgelere erişim için özel olarak talepte bulunulması gerekmektedir. <a href="http://earsiv.sehir.edu.tr:8080/xmlui/feedback">Bu linki </a> kullanarak bu konudaki taleplerinizi bize iletebilirsiniz.</p><p>Veri tabanından yararlanılarak yapılacak çalışmalarda ŞEHİR Akademik Arşiv'den yararlanıldığı bilgisinin de ilgili çalışmada gösterilmesi zorunludur.<br></p><p style="color:#333333;font-family:"helvetica neue", helvetica, arial, sans-serif;background-color:#ffffff;"><br></p>
from react-native-render-html.
The href
itself is the second argument on onLinkPressed, please read the docs.
Since you can log the event, I assume everything is working properly.
from react-native-render-html.
thanks.
I didn't notice that href is the second argument. I solved the problem by passing that url to Linking.openURL.
from react-native-render-html.
Related Issues (20)
- Custom HTML tag is not rendering properly, nor behaving the same way in different platforms HOT 5
- Style is not working in img tags
- use a custom component for rendering HOT 4
- tagsStyles not working with custom font HOT 2
- Adjust the height container when inject a custom component in renders (image)
- other fonts don't work for children tags if you set font for parent HOT 1
- Failed prop type: Invalid prop `textDecorationColor` supplied to `Text`
- Render Error, maximum call stack size exceeded (native stack depth) HOT 2
- `<img>` embeds possibly not making use of `srcset` attribute resulting in blurry images HOT 3
- It is slow, it takes to import the components around 2 seconds
- Need Help for Break Lines Implementation HOT 1
- webView props mediaPlaybackRequiresUserAction not work HOT 2
- Not working android Realme device HOT 1
- defaultTextProps style overwrites renderers HOT 1
- Email or text is not showing proper way
- Slow navigate to a screen contains 12k words (including table)
- RTL is not working on p or div tag HOT 1
- the app crashes while rendering the table on Android. `table-plugin`
- How to disable Font Scaling in react-native-render-html v6 HOT 1
- Font family not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-render-html.