2,525,871 questions
1
vote
0
answers
19
views
Good practice and HTMLSlotElement.assign()
TL;DR
In a WebComponent using dynamically generated <slot> for each of its direct children, what are the best practice ? (Or your suggestion if no clear answer exist yet)
Add a slot attribute ...
-1
votes
0
answers
29
views
FormData empty if included file is too large
I’m getting what I regard as unexpected behaviour when submitting form data using JavaScript and the FormData object.
In this sample, I have a simple email form with a few fields and a file field for ...
1
vote
0
answers
21
views
Webview2 attempt to set element style using javascript results in "cannot set properties of undefined" error
I am using Delphi to load a document from a file using WebView2 (TEdgeBrowser). I am trying to add blank space to the bottom of the document. The document looks like this:
<?xml version="1.0" ...
-4
votes
0
answers
51
views
JavaScript addEventListener not firing on button click [closed]
I’m trying to handle a button click using JavaScript, but the click event doesn’t seem to fire.
Here’s a simple version of my code:
<button id="myBtn">Click me</button>
<script>
...
-9
votes
0
answers
55
views
How should i make those arrow design [closed]
I’m currently working on a project using Tailwind CSS, and I’m stuck. I don’t know how to create the arrow design using HTML and Tailwind CSS, and I need immediate help from a senior.
0
votes
0
answers
52
views
Chromium-based browsers don't play the video
I'm trying to make a video player with custom controls.
I have a PlayerWindow class that has functionality of basic video control.
There's part of code from its constructor that adds play button ...
Advice
0
votes
0
replies
17
views
Is there a way for Pointer Lock API to restore the cursor to its natural position after unlock?
I’m implementing drag interactions that need to continue when the pointer leaves the browser window, so I use Pointer Events with `setPointerCapture()` and, in some cases, the Pointer Lock API.
During ...
-3
votes
0
answers
29
views
multer error : i am uploading a pdf file on cloudinary but this error i am unable to solve
MulterError: Unexpected field
at wrappedFileFilter (/home/raj/Desktop/Codes/Resare/Resare/backend/node_modules/multer/index.js:40:19)
at Multipart.<anonymous> (/home/raj/Desktop/Codes/Resare/...
-1
votes
0
answers
40
views
React Native tab navigation becomes unresponsive while a screen is rendering heavy data [closed]
React Native tab navigation becomes unresponsive while a screen is rendering heavy data
I am working on a React Native application that uses Tab Navigation along with a Drawer.
On the first tab, I ...
-2
votes
0
answers
57
views
How come this button does not become disabled? [closed]
I have this button and input elements, as well as a jQuery keyup event:
<input b-2uzqter5id="" type="text" id="songName" data-lmo-id="zELEpligCc">
<...
-2
votes
0
answers
39
views
How to refactor a Next.js Client Component to a Server Component while keeping "isFetched" animation logic? [closed]
I have a complex application written in Next.js. It fetches user information in a Main component and then passes that info to child components (Habits, Tasks, Progress). These children return data ...
-2
votes
1
answer
49
views
Issue with HTML to PDF Conversion in Node.js [closed]
When generating PDFs, the page border either touches or gets cut off at the page edges. Even when the border looks correct, the content overlaps the border during page breaks. I am facing multiple ...
Advice
1
vote
5
replies
59
views
How to use API to get and post data from different programming languages?
I want to develop some projects where I need to integrate some different programming languages. But I don't know how to set communication between them? Can you advice me that how can I learn to ...
0
votes
0
answers
29
views
Polyfill (scroll-timeline.js) resets CSS
On my website (simple php, html, css, js) I'm using scroll-based animations through js using animation-timeline, which are not supported on Firefox. Google team released scroll-timeline.js (polyfill), ...
0
votes
0
answers
29
views
Nuxt 3 setting base url for route path cause to a permenant redirect 301
I have a Nuxt 3 project where my base url is /travel and the page for that path is in pages/travel/index.vue
Also I have another index.vue file in pages folder like this pages/index.vue
In nuxt.config....