All Questions
11,388
questions
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 ...
2
votes
1
answer
31
views
Transition on a Pagination in React
I try to style button which is active in that way that I have a small transition on it when it gets that attribute but I can't get it. Same on the paragraph which is being rendered from the data file
...
0
votes
1
answer
45
views
Apply style to all but last div [duplicate]
I am trying to apply a specific style to all divs for class within a div except for the last one. I've done this a few times, but for whatever reason it's not working like the others. Am I missing ...
0
votes
2
answers
50
views
How to combine nth-child and hover in TailwindCSS?
Is it possible to combine nth-child and hover in tailwind?
<tr key={i} className='[&>*:nth-child(even)]:bg-[white] hover:bg-[#6b7280] [&>*:nth-child(odd)]:bg-[#eee] hover:bg-[#6b7280]'...
1
vote
1
answer
34
views
React Navbar Mobile Menu Background Does Not Cover Full Page Width
Problem:
I'm having trouble with my React Navbar component. When I decrease the screen width, the mobile nav menu opens up, but the #242424 background doesn't cover the entire width of the page. I'm ...
0
votes
1
answer
39
views
Dropdown menu is losing all styling when .active class is enabled but with on:hover it works
I encountered a strange behavior in a dropdown component and I can not figure out what causes the problem. Any help is really appreciated!
It is a simple dropdown. I used React, CSS and JavaScript ...
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
0
answers
22
views
Can you assign a row in a MaterialUI DataGrid componet a custom color based upon properties of the Row Parameters?
return (
<div style={{ height: '75vh', width: '94%', position: 'absolute', top: '9vh', zIndex: 5, marginLeft: '3vw', marginTop: '1.8vh', border: '0.1vh solid black' }}>
<...
0
votes
1
answer
63
views
React doesn't trigger animation on position absolute element
I'm trying to add a transition to heroTitle and heroBtn but it doesn't seem to trigger, if I console.log ''element.current'' it shows that the styles have been updated but the current element being ...
1
vote
1
answer
32
views
How to prevent a collapsible table from Material UI to lose its position when expanded?
I got the code for a collapsible table from this website:
https://mui.com/material-ui/react-table/#collapsible-table
But whenever I expand a row, the table "grows up" since it increases in ...
1
vote
1
answer
39
views
iOS "Add to Home Screen"-403 Forbidden Error & other strange behavior
I recently found out about the iPhone "Add to Home Screen" functionality and I am exploring ways to use it. It's working well on some other websites I tried, and I'm trying to make it work ...
0
votes
0
answers
17
views
Animation in react js
I have a circular animated loader. Now i want to add normal keyframes like we do in normal css.The problem is the data is 25% than only 25% of circle should have blue color and other 75% have any ...
0
votes
2
answers
46
views
I want to validate my input type time from the today date and after current time
<input type="date" onChange={(e)=>setDate(e.target.value)}/>
<input type="time" onChange={(e)=>setTime(e.target.value)} />
if the date is after today and time is ...
1
vote
0
answers
40
views
adding and cloning column in a table using react
I am new to React, when I click the add button it should create a new column with text box and no values in the text box
add button present inside flow data column.
Clone should clone the flow data ...
0
votes
1
answer
40
views
Add connecting borders to MUI treeview
I was looking to add some borders which connect to the nodes in the mui treeview, but i keep struggling with a single part, that is to not have the vertical border when it is the last leaf node
It is ...