All Questions
12,229
questions
0
votes
0
answers
28
views
How to layout child elements so they will not move when parent element resizes or moves?
I have a parent div and place three svg ellipses and a image inside it. They need to have a certain position on top of the div. This position needs to be always the same no matter where the div moves ...
-1
votes
1
answer
26
views
Animation | Transition in React JS
hope you are doing well.
I have a question related to implementation of one interactive app.
Here is th link to the effect I want to achieve: https://dribbble.com/shots/10224104-Calendar-app
As you ...
-1
votes
0
answers
16
views
How can I make interactive text in Tiptap editor?
What I need is for the editor to mark specific words (for example underline it with a unique color), and make it interactive - clicking on the specific word would open a floating menu.
So what I have ...
0
votes
1
answer
51
views
Using a CSV to set "fill" for SVG circles
I have SVG code that I would like to modify (with JavaScript?). I could use some help figuring out how to change the circles, as shown in the picture below, in accordance with values from a ...
-1
votes
0
answers
10
views
Rendering webpack bundled is code on html
I have compiled react component into a js bundle using webpack. Importing this into other react projects works just fine.
Is there any way to render this js file on a normal html file, without using ...
-2
votes
0
answers
22
views
Why i can't edit my tasks after click in edition button in ReactJs? [closed]
I'm creating a list of tasks in ReactJs and I'm having a problem with editing the tasks, when I click on the edit button it simply deletes all the tasks, could anyone help me create the editing tasks?
...
0
votes
2
answers
25
views
Searching input of table's items messing with table's pagination
I have a table that divides the its items per 20 lines and, above the table, a searching input to filter items that matches the written words. Both the tools works ok alone. I can navigate through ...
0
votes
1
answer
28
views
How to get and test an element style using RTL?
I have a sidebar menu component, which has a small tab to be pressed in order to show/hide the menu.
The tab, as the entire menu, can be rendered on the left or the right side of the screen based on '...
0
votes
1
answer
50
views
HTML script tag isn't recognizing Javascript in React project
I'm trying to set up Swiper in my React project so I can have an image carousel, but the script I need to use isn't recognized, like it's not even recognizing the keywords 'const' or 'new' (as you can ...
0
votes
1
answer
69
views
SVG Component Rendering Inconsistently Across Browsers
I'm working on an SVG gauge component that works perfectly in Chrome but has rendering issues in Safari and Firefox. The gauge displays progress using a gradient fill and a rotating pointer. In Chrome,...
0
votes
1
answer
23
views
How to evaluate a expression inside a <script> element in JSX using Astro?
I've the following code in an Astro component:
BaseHead.astro
<!-- Schema.org -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
...
0
votes
0
answers
29
views
Error 401 on GET method, 401 (Unauthorized)
I'm making a request to AccuWeather's public API, first there was a problem with cors but I solved it, now it's giving me an authorization error, what do I do?
import React from "react";
...
0
votes
1
answer
16
views
Nodemailer contact us form
const transporter = nodemailer.createTransport({
service: "gmail",
auth: {
user: "[email protected]",
pass: "password",
},
});
app.post("/api/send", (...
0
votes
0
answers
24
views
Why Can't I change my border color in input field of material-ui?
I am trying to change the input border color to white even if its focused, hovered or just by default.
I have create a theme using makeStyles for the text and input fields but it does not seem to work....
0
votes
1
answer
18
views
How to stop the default double tap to minimize of a video tag in React? [closed]
I am making a video player with gestures like double tap to seek 10 seconds. But the default browser function makes the video full screen on double tap. To stop that, I removed the control to make the ...