R
R
Roman Rakzin2020-04-26 01:40:57
React Native
Roman Rakzin, 2020-04-26 01:40:57

How can I implement parallax in react native? or how to drive it into html-view?

Googling, I did not find a parallax option.
I want to implement parallax between articles, but I couldn’t set up react libraries “normally”, then I decided to embed a browser and tried with different html View, WebView components (by the way, for some reason it didn’t display anything for me).
And libraries like https://www.npmjs.com/package/react-native-htmlview and https://www.npmjs.com/package/react-native-render-html still can't fully work with css.

For example, this library https://www.npmjs.com/package/react-native-render-html styles everything as expected and displays an image if I write , but if I set backgroundimage in the styles and specify the url, then it doesn’t work like that, although the code in the browser works.

In general, the question is about parallax - and how it will be - through the built-in browser or through the application itself - is not important. Something to do here

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question