Skip to main content

All Questions

0 votes
0 answers
32 views

Page Resizes on Navigation to Sign In Page in Next.js, But Works Fine on Refresh

I am encountering an issue in my Next.js app where, when navigating to the Sign In page via a link (<Link href="/signin">), the page initially appears smaller or resized (around 90% of ...
Dev M's user avatar
  • 1,719
0 votes
1 answer
39 views

Position sticky not working in React JS nav bar

I want the navigation bar in the below code to be sticky at top once I scroll down, but it isn't. These are the codes below. App.jsx: import Absorption from './Absorption'; import './App.css'; export ...
Abhrajit Saha's user avatar
0 votes
0 answers
20 views

Media queries not working after deploying project to Vercel

I’m currently working on a project with React and I’ve encountered an issue. The media queries are not working: @media screen and (max-width: 768px) { /* styles here */ } When I check how the page ...
JJJ BBB's user avatar
1 vote
0 answers
44 views

How to implement dual hover for desktop and tap feedback for touch devices in a React hamburger menu?

I'm working on a responsive navigation component using React and SCSS. My goal is to have a hover effect on desktop when a user hovers over the hamburger icon and a tap effect on mobile devices where ...
Amadeus's user avatar
  • 440
0 votes
1 answer
59 views

Issue with Swiper.jsBreakpoints in React for Different Screen Sizes

I'm using Swiper.jsin a React project and having trouble with setting up breakpoints to display a different number of slides per view based on screen size. My goal is to show 2 slides on small screens ...
Huzaifa Zahid's user avatar
0 votes
1 answer
132 views

How to Enable Horizontal Scroll and Prevent Overflow?

I am working on a React project using PrimeReact's DataTable component, but I'm struggling to contain the table within its parent container. When the table's content exceeds the available width, it ...
Giorgi Kalandadze's user avatar
4 votes
1 answer
122 views

Rotating Text around a circle to make it look like a sphere

Trying to get my nav bar to be a series of circles where if you hover over them it displays the text that goes with them. Heres what I have so far: document.querySelectorAll('.color-circle')....
mmkranz7's user avatar
  • 193
0 votes
0 answers
16 views

Input Box component and buttons are too small to apply md: despite having md:w-* classes

I'm working on a responsive navbar using React and Tailwind CSS for my course-selling website. The layout contains: A logo on the left. A search input box and search button in the right (visible only ...
Aditya Basak's user avatar
0 votes
1 answer
49 views

Chakra custom component library - responsive height={{ base: "15vh", "2xl": "30vh" }} not working

I have a custom ui library with NavBar component function NavBar({ navItems, sticky, maxWidth, logoUrl }: NavProps_t) { return sticky ? ( <Box className={'sticky__nav-...
sharath's user avatar
  • 11
1 vote
0 answers
617 views

Best way to make font sizes responsive in Mantine UI

In mantine UI <Text> component you can set the size of the text by using the size prop, which takes a size from the mantine theme and is a value like sm or xxl. My question is this ... for ...
Arthur Klezovich's user avatar
0 votes
1 answer
75 views

Trying to create auto-resizing horizontally-scrollable background image

I'm trying to recreate this webpage, and I'm looking for advice on my approach. What I'm trying to achieve: A background image with a height that always matches the screen height while preserving its ...
Joshua Edo's user avatar
3 votes
1 answer
208 views

How to make responsive Toolbar (with collapsible overflowing buttons) without using setTimeout()?

I'm creating a toolbar for my richTextEditor (tiptap). I wanted the buttons overflowing editors width to hide under "more" button. I came across reddit post with flow explained, but I'm ...
Karol Studniarek's user avatar
0 votes
1 answer
201 views

Fit React Native Paper Cards in All Screen Width

Using two React Native Cards align horizontally. Cards are fitting differently in different phone screen. First image is android emulator Pixel 3a API 34 and 2nd image is from physical device OnePlus ...
Souvik Sankar Mitra's user avatar
0 votes
0 answers
46 views

Responsive design with shapes and canvas with KonvaJS

Context I have a page that allows the user to upload an image (e.g., floorplan) and then add custom circles (desks) and custom rectangles (zones) on top of that image. The shapes will collectively be ...
Ahmet-Salman's user avatar
0 votes
0 answers
20 views

Responsive Animation Scaling React

@keyframes moveToCenter { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(var(--end-x), var(--end-y)) scale(2.1); } } .selected { animation-name: ...
Roie Yechi's user avatar

15 30 50 per page
1
2 3 4 5
24