Skip to main content

All Questions

Tagged with
0 votes
0 answers
24 views

Is it redundant to have a function to load all the file not in the dist folder in a Vite React Project?

Before I say what the problem is could I get some links to some resources that help me understand how Vite build files and how the whole build process works? Especially when it comes to the asset ...
Drayden's user avatar
  • 11
2 votes
0 answers
27 views

Drag functionality for search results

So I tried to learn how to implement React. When I click the open panel, I need to search from text box, and after the results display, I need to drag the results into the table and column. But I am ...
Ram01's user avatar
  • 171
0 votes
1 answer
46 views

how to keep the nested collapsible table row inside main tabe row in mui table react?

I have a Material UI (MUI) table with a border color and background color. Each table row needs to have a collapsible table row. MUI's documentation shows a separate table row and uses React.Fragment, ...
Rana Faraz's user avatar
-1 votes
0 answers
40 views

React/NextJS component to move images while keeping their upright position (CSS or Framer Motion)

I have a react component that displays 4 images in a north, east, west, south and west position. When clicking any of the images, the container rotates one position so the north image becomes the east,...
AzulaFire's user avatar
0 votes
1 answer
50 views

How to dynamically adjust container height when flex items wrap in React with CSS?

I'm working on a React application where I have a container (answers-container) with multiple buttons (answer elements) inside it. These buttons are laid out using flexbox (display: flex) with flex-...
user avatar
0 votes
1 answer
35 views

how to position elements in the many layers of this tier circle, distributed evenly and equidistant from the center?

Image of the css concentric circles i have I need to display items dinamically given a list of jsons, but what i need to know is how to get all the items in the correct position. I thought of doing ...
Fábio Seyiji's user avatar
-2 votes
0 answers
32 views

How to animate when a component is unmounted in React ts?

I hope you are all doing very well, I just wanted to know how to create an animation when a React component is unmounted. If it can be achieved with CSS, that would be even better. I have attached two ...
Brayan Gomez's user avatar
-1 votes
0 answers
28 views

Sticky footer without overlap

I've been scouring the internet for days trying to find a simple solution to a sticky, fixed footer for mobile web applications where the main content doesn't overlap the footer. I even asked ChatGPT ...
Ahmed Khan's user avatar
1 vote
1 answer
861 views

Cannot find module 'ajv/dist/compile/codegen'

enter image description hereCannot find module 'ajv/dist/compile/codegen' I have tried up creating an react app,where I have enter all the basic information like npx create-react-app, then after ...
Seelam Darshan's user avatar
-2 votes
0 answers
31 views

Website looks fine on Chrome IOS emulator but not on iOS

So here's how it looks on chrome emulator, BEFORE INPUT SCREENSHOT : AFTER INPUT SCREENSHOT : And here's how it looks on native ios BEFORE INPUT SCREENSHOT : AFTER INPUT SCREENSHOT : AFTER HIDING ...
Bucky's user avatar
  • 1,192
-1 votes
0 answers
24 views

Nextjs Project not working - So in short even after applying tailwindcss I am still getting user agent stylesheet

<div className='flex justify-between'>Get Me a Sunscreen <ul> <li className='none'>Home</li> this code even after applying flex i am getting elements in ...
Kabir Potdar's user avatar
2 votes
1 answer
45 views

useInterval JS useState React and Animation CSS

I am changing text between two values using React useState and setInterval and it works fine. function Home() { const [role, setRole] = useState("Text A"); const inter = setInterval(() =...
KIX's user avatar
  • 45
1 vote
1 answer
115 views

How to align label to the right in a vertical MUI Slider in ReactJS?

I am using ReactJS/TS with MUI (Material-UI), and I need to implement a vertical slider where the label turns to the right. By default, in MUI, the label is on the left when using a vertical slider. I'...
Dolev Dublon's user avatar
0 votes
0 answers
38 views

NextJs: HEX getting translated to RGB automatically

I am using Redux (RTK) with NextJs and Tailwind also. I want to set background color of a element dynamically by getting the color as input from <input type="color"/>, and the problem ...
Quiet Coder's user avatar
0 votes
2 answers
43 views

I want to implement a feature where it is like a background fade on scroll

I have tried literally everything I can search for and think of but nothing is letting me implement this feature. I want the background to have completely faded to black by the time the "who"...
Oliver Beerworth's user avatar

15 30 50 per page