All Questions
12,183 questions
-1
votes
0
answers
7
views
How to resolve the system failer problem resolve the native problem
Explain it with with steps and guide properly.
I tried the system upgradation and system reboot also.
I just need the steps and procedures to how to resolve it and make my system run smoothly just ...
0
votes
3
answers
66
views
Can't embed YouTube videos in React.js
I am trying to embed a youtube video in my react.js website, I have tried multiple different code samples in my file as seen below:
<h1>Embedd Test1</h1>
<YouTube videoId="6pH4Ot-...
1
vote
3
answers
136
views
How to keep <mark> tag across multiple <li> elements in an HTML string?
I'm trying to highlight parts of an HTML string using the <mark> tag. However, when parsing the HTML to display it in the UI, the <mark> tag is not applied as expected—specifically when ...
-3
votes
0
answers
70
views
Why is my date input resetting when selecting a date in React? [closed]
I'm working on a React form where I need to handle a Date of Birth field using an <input type="date">. I want the field to accept dates in the YYYY-MM-DD format, both for displaying ...
0
votes
0
answers
49
views
Uncaught runtime errors: × ERROR (TypeError) + initStripe [closed]
Uncaught runtime errors: × ERROR Cannot read properties of undefined
(reading 'match') TypeError: Cannot read properties of undefined
(reading 'match') at initStripe
(http://localhost:3000/static/js/...
-4
votes
0
answers
65
views
Full Screen react exam taking app, Controlled full screen exit
1.Can't able to control full screen mode, if we press escape automatically coming out from the full screen mode.
2.If not possible how other exam taking apps are working, any other ways?
3.Non of the ...
0
votes
0
answers
28
views
Ckeditor5 with React - Custom Comment View is not working
I am new to Ckeditor5 with React and created sample application where I am trying to create custom comment view where user can view/ edit the comment. (refer below screenshot)
Description - We have a ...
0
votes
0
answers
87
views
Entire component is getting dragged when I try to select text in it
<LabelCard
identifier={identifier}
type={LabelType.Default}
defaultPosition={defaultPosition}
$expandedOffset={expandedOffset}
locked={locked}
...
1
vote
1
answer
76
views
How to make Material UI sidebar slide and push?
I created a React app that uses a sidebar that is supposed to ease-in-out, but it doesn't. It just pops in while successfully pushing the content to the right, and pops out when clicked again.
The ...
-1
votes
3
answers
125
views
Pagination for ebook
I am trying to implement pagination in HTML. I could show the content in two columns but unable to implement pagination. How do I implement pagination on scroll? That is, when I scroll down, it moves ...
-1
votes
1
answer
120
views
Cannot remove outline in input
import React, { useState } from 'react';
import "./styles/input.css";
import { CiSearch } from 'react-icons/ci';
interface SearchProps {
isMobile: boolean;
onSearch?: (query: string) =&...
4
votes
1
answer
152
views
NextJS generateMetadata is rendering outside of the <head> tag
I'm having SEO issues with a nextJS app where the meta data is being outputted outside of the body tag. I have this bit of code in my page.tsx file
export async function generateMetadata(
{ params,...
0
votes
0
answers
59
views
Hamburger menu not animating when clicking on menu item
I hope this doesn't sound too confusing but when I click on an menu item I want my hamburger to show its closed state, currently when I click on an menu item it stays open. I have added some pictures ...
1
vote
1
answer
124
views
How can I prevent trailing decimal point from displaying in number inputs after losing focus?
When using number inputs with the step attribute for decimal values, I noticed that when I type "1.2" and then delete the "2" to leave "1.", the trailing decimal point ...
1
vote
1
answer
88
views
What could be causing "Rendered fewer hooks than expected" in this component?
After adding this conditional statement to fix an error:
if (el.parentNode) {}
I started getting this error:
Error: Rendered fewer hooks than expected. This may be caused by an accidental early ...