All Questions
843
questions
4
votes
1
answer
54
views
Difference in flexbox overflow behavior between React and React Native
I'm new to React Native, so I apologize if this is a simple question. I'm trying to achieve a flex layout containing two child flex containers with their own content, where if one child's content ...
0
votes
1
answer
23
views
React Native Scroll View won't scroll all the way to the bottom (tried everything I could find)
I have decent experience with React but I'm a complete beginner in React Native. I'm making a basic card game app which just displays "cards" of various superheroes.
But the app just won't ...
0
votes
1
answer
32
views
react-native-google-places API not working inside a <Modal>
my API working fine in my screen page, but I would like to work it inside a
No idea why inside a modal appear just the text input without the placeholder, we can type something but the autocomplete ...
0
votes
1
answer
43
views
React Native Material Top Tabs styling
This is image which show my problem
I don't know why but this text look like this and i don't know which component is above label and so on...
import React from 'react';
import {
...
1
vote
0
answers
16
views
passing the data using variable in react for a key and update in UI
I am new to React, I tried to pass the testData variable inside my items keys like this estData[0].flowNames, but the values are not showing in the updatedSourceItems
I debugged by putting console, in ...
0
votes
0
answers
38
views
Check the render method of HomeScreen3
I am getting these errors
ERROR Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method ...
0
votes
0
answers
12
views
Passing CSS From Parent to Child in React/ React Native
This is my parent component:
<View style={[BookStyles.memberButtonContainer, SpaceStyles.mt(20)]}>
<Button color={'darkGray'}text="Learn more" />
</View>
This is ...
0
votes
0
answers
69
views
How can i set a global Background image in React-Native/Expo
I am trying to set a global Background image in Expo for all Router-Paths. Since using the Css Background-Image Prop is not possible in Expo/React Native, I can not add it to the "Stack" ...
0
votes
0
answers
21
views
BottomNavbar component not rendering outside of scrollview
I'm very new to react native. I'm using react native paper for creating a bottom navbar for my app. The navbar though, doesn't render if I Put it outside the scrollview. I want the navbar to be fixed ...
0
votes
0
answers
15
views
Custom-built virtualized grid component - preventing empty space above/to the left of sticky cells when scrolling quickly
I'm currently in the process of rewriting a custom-built virtualized grid component which allows for both a given number of sticky columns and sticky rows. It's built based off of bvaughn's react-...
0
votes
1
answer
41
views
How to use ToolTip in React
I am creating my Portfolio and in the skills section I want to add a tooltip on the image for the name of the skill. following is my SkillCard.jsx and .css I am facing error as
Invalid hook call. ...
0
votes
3
answers
254
views
Create loading spinner in react-native
I have created a loading spinner that is being used across my components in my React project. I am now creating a react-native version of this application, and want to re-create this loading spinner ...
0
votes
1
answer
40
views
Issue setting StackNavigation background color to transparent (shows white)
I have a react native applicaiton that I am currently building. One part of my react native application is that if the user is not logged in, I want to show a background image with the content from ...
1
vote
0
answers
112
views
Where should I place a CSS reset file for an Expo/React Native project?
I have a React Native project scaffolded using Expo and want to perform a CSS reset. Where would I place such a file and would I need to connect it to anything?
My current project structure looks like ...
0
votes
0
answers
73
views
Reference an image from absolute path at runtime typescript
So I am writing an electron app with react and typescript and I am trying to set the CSS background property of a div to a custom image specified by the user. I have this code inside my react ...