2,527,490 questions
0
votes
0
answers
7
views
stack animation effect with animejs
Hey folks I faced some problem when was animating cards stack with animejs. So I want to achieve effect when you scrolling and card from stack moving up and make a little rotation like on this jam
I ...
0
votes
0
answers
6
views
Using ESM plugins in ESLint CommonJS config
So I have an Angular NX Monorepo, which has a base eslint.config.js, and each lib extends the base config in its own config. All configs are CommonJS and use require() syntax. I want to use the simple ...
-2
votes
0
answers
19
views
Jest 30 Validation Error on Windows while Jest 29 worked
Jest 30 Validation Error on Windows while Jest 29 worked
I'm trying to set up Jest 30 on Windows following the official Getting Started guide: https://jestjs.io/docs/getting-started.
However, when I ...
-3
votes
0
answers
53
views
How does javascript work behind the scenes? [closed]
I'm trying to get a deeper understanding of how JavaScript actually works under the hood.
I know that JavaScript is single-threaded and runs inside engines like V8 (Chrome, Node.js) or SpiderMonkey (...
-2
votes
0
answers
35
views
Why do some Base64 decoders fail to handle large binary data correctly? [closed]
I'm working on a project that needs to decode large Base64 strings (often >10 MB) into binary files such as PDF or images.
When I use some online Base64 decoders, the output is either truncated or ...
0
votes
0
answers
25
views
bg video not autoplaying [duplicate]
I'm trying to get my video to play automatically. It worked before on iOS (not on MacOS tho) but now my video won't autoplay anymore. Any ideas what I'm doing wrong?
<body>
<div id="...
-3
votes
0
answers
36
views
HTML unable to find index.js in file directory [closed]
my index.js file is inside of a static folder and when i try linking my js to HTML using static/index.js in a script src tag nothing works.
I was expecting a window alert from index.js as a test
and ...
-1
votes
0
answers
24
views
window.ethereum Fails to Detect web3 Wallets on Mobile browser
I am working with ASP.Net web form, I have a page that contain a button for pay that accept crypto. when the button is clicked, it will connect to user's web3 wallet and make the payment to merchant. ...
0
votes
1
answer
54
views
How can I change the currently selected text?
If i run this code,
var sel = app.activeDocument.selection;
for (i = 0; i < sel.length; i++) {
sel[i].textRange.characterAttributes.textFont = textFonts.getByName("ArialMT");
}
it ...
-6
votes
0
answers
52
views
How can I make a JavaScript 'tag' search function? [closed]
I've been trying to make a search function that uses 'tags' to find certain items. basically, what I'm doing is writing each object inside a <div> like this:
<div class="object">
...
-1
votes
1
answer
68
views
Can I get this to have the output present itself within the boxes
I'm trying to make a flashcard page for an assignment, and I've got the JavaScript code working correctly to do so, but I am having trouble getting the box that goes around each card implemented ...
-3
votes
0
answers
33
views
React progression dynamique Supabase [closed]
Bonjour,
je développe une application éducative en React (TypeScript) avec Supabase comme backend.
Je veux afficher une liste de leçons avec un taux de progression dynamique pour chaque élève.
Quand l’...
1
vote
3
answers
53
views
How do I move focus through a list with keyboard navigation using Refs?
I have an unordered list in a React app, and I want to be able to navigate through the list using down/up arrows. The list is rendered conditionally, based on whether a variable is null or not (the ...
0
votes
0
answers
44
views
How to avoid target.hasPointerCapture is not a function when testing Radix UI (shadcn) components with Vitest + userEvent?
I'm testing components built with shadcn/ui, which uses Radix UI under the hood.
When running UI interaction tests using Vitest and @testing-library/user-event, I keep getting the following error:
...
0
votes
1
answer
53
views
React Native Deep Linking - Multiple Paths for single screen
I’m trying to handle multiple deep link paths that should open the same screen in my React Navigation setup.
For example, both of these URLs should open the same ChallengesScreen:
mydomain.com/...