Skip to main content

All Questions

1 vote
0 answers
674 views

React Native: How do I change the scroll position of a ScrollView when the element is not visible?

I have a horizontal FlatList which renders a list of vertical ScrollView cards. When I scroll the FlatList, I would like the ScrollView cards to reset their scroll position to the top. I do not want ...
Thomas's user avatar
  • 11
0 votes
3 answers
2k views

React: Image is not displayed

Im folgenden Code sieht man wie ich das bild darstellen möchte, das Bild wird aber nicht angzeigt, nur der text wird angezeigt. <div> <b> Test123 </b> <image src={require('../../...
user avatar
0 votes
2 answers
2k views

Conditional visibility in a react component

I have a react component that contains a div with a conditional visibility. The component represents the page of a specific product on an ecommerce. The users can give their opinions once. The div ...
Laura's user avatar
  • 15
3 votes
2 answers
651 views

"show/hide" a div with javascript not jquery, and not with display:none

I need to show/hide up and down a div, but: It can't be with jquery: because, togle(), slideTogle(), fade, animate, etc, they all use display:none, and I need the div using it space in the DOM (I'll ...
pmiranda's user avatar
  • 8,164