Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Add card-frame image to a list when clicking on a card image

I am trying to make a deck builder where the user can click on a card and it adds the matching Card-frame to a deck list on the side in another container. Is this approach I have below the right ...
artcank's user avatar
0 votes
2 answers
27 views

Why is my variable not working when passed as an argument?

For the person who is missing it, I am trying to add the year of death by using the reduce method for an array of objects. For example: { name: "Carly", yearOfBirth: 2018, }, { name: 'Carly'...
lunarchild's user avatar
0 votes
0 answers
14 views

Why is my Puppeteer screenshot blurry for the main Flourish chart but sharp for other webpage elements?

I'm using Puppeteer in a Node.js script to capture high-quality screenshots of a Flourish Studio bar chart race. However, while most of the webpage appears crisp and clear, the main bar chart race ...
Pubg Mobile's user avatar
0 votes
0 answers
11 views

error: duplicate class: com.facerror: duplicate class: com.facebook.react.PackageListebook.react.PackageList

I recently upgraded my device from a MacBook Pro 2019 (Intel i7) to a MacBook Air M2. Previously, when I was using the MacBook Pro 2019, my project was running perfectly without any issues. However, ...
Rivanka Desya's user avatar
0 votes
0 answers
17 views

React Router: Cannot Read Properties of Undefined (reading 'id') When Refreshing or Pasting URL

I'm using React Router v6 in my React app, and I have a Category page that works fine when navigating within the app. However, when I refresh the page or paste the URL into a new tab, I get the ...
nscott's user avatar
  • 1
-6 votes
0 answers
15 views

Driver License Parsing In Webform [closed]

I am using a USB scanner to scan drivers licenses into a webform. However when doing so, it hits keyboard commands with different "keystrokes" and usually opens up the downloads window with ...
Cade's user avatar
  • 1
0 votes
0 answers
12 views

Unable to import 'sharp' into Quasar Electron project. "Module not found: Can't resolve 'child_process'"

I am trying to import and use sharp in my Quasar Electron project. I have tried uninstalling and reinstalling sharp many times. When running app as dev using quasar dev -m electron, it opens and runs ...
trleahy's user avatar
0 votes
0 answers
20 views

cors error thrown when using fetch in a firebase function to get an http website using https protocol

I get a cors error when the url I use for fetch (on the server) has an https protocol that should be an http protocol. Here's the code in the firebase function (run on the server): export const ...
HenrikBechmann's user avatar
0 votes
0 answers
15 views

The script.src setter is distorted by Lightning Web Security (salesforce)

In below code when I tried to run/load script on Lightning web component (LWC) with Lightning Web Security (LWS) enable which throw the error on the screen "This page has an error. You might just ...
RT_SFDC's user avatar
  • 11
0 votes
2 answers
43 views

When Overflow occurs, update background color of DIV or FORM

I have a form that requires a specific section to have a maximum height of 3 inches - due to physical printing purposes. In this section, I have a textarea for users to provide a response (with no ...
dDubs's user avatar
  • 1
0 votes
1 answer
22 views

I can't parse the icon properly; it comes as an artifact from an array of objects

Come array with object I need to parse this code into an icon because it's currently displaying as an artifact. The project uses Blynk and Ant Design. The icon in the Tag component should be ...
Denis Dev's user avatar
0 votes
0 answers
19 views

Can I apply Content-Security-Policy to scripts only from our domains?

We're running test html pages in next.js and have the following next.config.js set: reactStrictMode: true, async headers() { return [ { source: '/(.*)', headers: [ ...
Dee2000's user avatar
  • 1,641
1 vote
1 answer
16 views

Angular provideAppInitializer is initialized after ngOnInit

I have in my ApplicationConfig provider provideAppInitializer(() => { inject(AppConfigService) }) In component MainPageComponent I have ngOnInit(), which geting data from backend every refresh. ...
Wynny's user avatar
  • 51
1 vote
1 answer
21 views

Can't successfully test a custom hook using useState and useEffect

While learning React, I'm trying to understand custom hooks. I've created a simple one updating an internal "step" on creation, cleanup, and allows for external updates. But I'm struggling ...
Dgurio's user avatar
  • 11
-1 votes
0 answers
18 views

browserType.launch: Executable doesn't exist at /app/ms-playwright/chromium_headless_shell-1161/chrome-linux/headless_shell [closed]

needed help getting error: this is my github:https://github.com/opcxder/medium-scrapper it works locally fine, when I try on apify it does not work. can anyone help me resolve this issue. already try ...
Mikey's user avatar
  • 9
0 votes
0 answers
22 views

Custom menu able to import data from a CSV file with semicolons separators [duplicate]

I would like to have a script for downloading into a sheet the values contained on a CSV file (stored on my laptop) and which using as separators semicolons. Into Google Sheets, I would like to have a ...
Christophe Laschweng's user avatar
0 votes
0 answers
7 views

django form submit is not sending all fields in the form when the fields are populated through javascript

When i fill out the form manually, it posts all 7 fields correctly. However, if the form is auto populated through js, the post request is only sending 2 out of the 7 fields (...
J. Doe's user avatar
  • 199
0 votes
0 answers
18 views

Fastest way to process audio segments and concatenate buffers in Node.js

I am trying to optimize the performance of a Node.js function that generates audio segments (for example something like OpenAIs TTS API) and then concatenates the resulting audio buffers. My goal is ...
Trevor Woods's user avatar
1 vote
1 answer
25 views

Form disable the overflow

I try to implement an overflow in Form react-router, that's work in a classic <div></div> but when I use <Form></Form> my overflow doesn't work. I don't find any topic who talk ...
Knupel's user avatar
  • 373
0 votes
0 answers
11 views

Using Path Aliasing on NPM package

I am in the processes of developing an NPM package with many different directories. Internally, I manage this by using subpath imports in the package.json. “imports” : { “#*”: “./src”, “#factories”: “....
ismaupin's user avatar
0 votes
1 answer
10 views

Safari throwing alert when checking if an app Scheme/URL is valid

I am using the following code to check if a mobile app exists on the users phone, if it does then open app, if not then redirect to app store. It works clean on Android, but on Safari simply just ...
rolinger's user avatar
  • 3,068
0 votes
0 answers
13 views

How to properly handle errors in Nest.js service layer

We are building an API using Nest.js and MikroORM and we are having a debate on several things related to the service "layer" of Nest.js. Let's suppose you have the following update method ...
David's user avatar
  • 171
1 vote
1 answer
31 views

Performance implications of using complex objects as default parameter

EDIT: looks like I was incorrect about Python's issue - it's with mutability, not performance Thank you for helping me correct my understanding of the problem. I'm leaving this up in case someone has ...
user29971781's user avatar
0 votes
0 answers
13 views

Google provider no response after user login

I have a simple snippet involving Firebase Authentication with two options: email/pass and google. My problem is that users can use the option email/pass smoothly. Regarding Google provider, it can ...
Bryan's user avatar
  • 1,519
0 votes
1 answer
31 views

Copy and paste in the draggable object [duplicate]

I have html script like this, <div style={{width:"200px",height:"100px"}} draggable={true}> <div style={{width:"100px",height:"50px"}}> copy test<...
whitebear's user avatar
  • 12.5k
-1 votes
0 answers
53 views

Change hover color of an input type="range" [closed]

I have a react component named DocumentView that has a range slider to show the zoom level of a document. I tried to change the color of the input range on hovering with Tailwind CSS, but it shows the ...
mrseeker53's user avatar
0 votes
0 answers
14 views

Encountering this issue "ERR_INVALID_FILE_URL_PATH: File URL path must be absolute" while running test suite

I am trying to set up Webpack locally and try to run the test, yarn test but it failed I don't know how to fix it. I am trying to set up Webpack locally and run its test suite, but I am encountering ...
Dhruv Choudhary's user avatar
-6 votes
0 answers
58 views

Saving a reservation button [closed]

*update 13.03.2025 15:35 <button class="reserve-button" data-post-id="{post.id}" data-user-id="{current_user.id}" data-reserved="{...
Serxeros's user avatar
0 votes
0 answers
15 views

Potential CSP issue with Safari only devices and Google Tag Manager

I am running into an issue with a eCommerce website that appears to work fine on desktop and Android browsers, however when loading the site on a Apple based device with Safari it is breaking some ...
Zabs's user avatar
  • 14.1k
-2 votes
1 answer
44 views

Can we use WeakMap to improve garbage collection?

Say I have a class that does a lot of fetch requests. State of each request is stored in a property of that class, which now is an array of objects. Objects in that array are not needed once the fetch ...
Alex's user avatar
  • 68.1k
0 votes
0 answers
29 views

Make element visible within Elementor's accordion widget before item is opened

since the new accordion widget of Elementor uses content-visibility: hidden for its contents before a tab is opened, it's not possible to make certain elements within visible before that. But that's ...
Bradley's user avatar
  • 109
0 votes
0 answers
10 views

survey-react-ui onUploadFiles not triggering on choose file button file picked

I am using survey-react-ui version 1.12.27, all other events are triggering but onUploadFiles event is not triggering. When i select file using "choose file" button event does not trigger. ...
Abdulbasit Khaleeq's user avatar
-1 votes
2 answers
54 views

HTML: image name as url parameter does not work?

I have a HTML page which that using an image name as URL parameter. Why doesn't show the image, what do i wrong? <!DOCTYPE html> <html lang="nl"> <head> <script src=...
Aventurijn's user avatar
0 votes
0 answers
21 views

Telegram requestWriteAccess popup window

Creating the Webapp game as telegram mini app. And stucked with one feature based on the requestWriteAccess. What i want to achieve is that when i requestWriteAccess from user, it will show pop up as ...
ildar's user avatar
  • 185
-1 votes
0 answers
16 views

Official JSON Schema for npm audit --json Output? [closed]

I'm looking for an officially documented JSON schema that defines the structure of the output from the npm audit --json command. While I understand that the output includes keys like actions, ...
Rj 45's user avatar
  • 9
0 votes
1 answer
28 views

How to set layout's page title from a view?

Let's say I have this Handlebars layout: <!DOCTYPE html> <html> <head> <title>Page title</title> </head> <body> <div> ...
acmoune's user avatar
  • 3,433
0 votes
1 answer
10 views

Change the settings of Sortablejs after its set

I am having trouble to change my sortablejs settings after its set. The initialization of this function is done within an other script(this script may not change) and is done when the page is loaded. ...
oelimoe's user avatar
  • 390
0 votes
0 answers
60 views

State Not Updating in useEffect When Clearing Filters

I have a global filter clearing function in a React app that should reset the filter dropdowns, input fields, and UI markers when a "Clear Filters" button is clicked. The problem is that my ...
Andrew's user avatar
  • 280
0 votes
1 answer
21 views

Remove Spacing from the bars for Q1 and Q2 I am using chartjs version 2.7.2 and angular chart js version 1

In your Chart.js bar chart, experiencing unwanted spacing between the labels Q1 and Q2 when the corresponding data values are 0. Even though the bars with 0 values are not visually displayed, Chart....
ronaldino's user avatar
  • 101
1 vote
0 answers
10 views

Outlook Addin Mobile get Email as Base64

In a Mobile Outlook Addin, what is a good replacement for the unsupported (on Mobile) function Office.context.mailbox.item.getAsFileAsync? *the function above gets the currenty open Email as base64 *...
DavidDunham's user avatar
  • 1,372
0 votes
0 answers
31 views

Puppeteer Not Working in Node.js Project After Deployment to Azure (Works Locally)

I am using Puppeteer in my Node.js project, and it works perfectly fine on my local machine. However, after deploying the project to Azure, I am encountering issues where Puppeteer does not seem to ...
Akshay Pagare's user avatar
1 vote
0 answers
15 views

How to implement custom rendering of ECharts legend as a drop-down selection box?

Product Request Pic Regarding the legend in this chart (Tracking Index / CSI 300) and rendering it as a Select component, I would like to ask how this is achieved through ECharts' configuration or API,...
Andrew's user avatar
  • 11
0 votes
0 answers
10 views

dyGraphs is possible to fill the area with differents colors based on the y value?

Graph Image With dyGraphs is possible to fill the area of a graphic with differents color based on y value ? 0-49.9 green 50.0 149.9 yellow 150 and up red. I made this example https://tbr2.it/radon/...
Fabio Saitta's user avatar
0 votes
1 answer
25 views

in blazor app using javascript setScrollPos and getScrollPos to maintain scroll on list page

In my Blazor app, I'm using the following JavaScript to maintain scrolling on my list page after returning from details page. The user experience is not the greatest, it starts at top of the page then ...
Rod's user avatar
  • 15.5k
0 votes
1 answer
125 views

While binding data in HTML table getting NAN values

I have implemented the below logic for displaying calculation with data. So while displaying the data in Maintenance Point column I am getting values as NaN. But there should be no values. What is ...
HEEN's user avatar
  • 4,737
1 vote
0 answers
56 views

how to share Azure AD auth between two different sites

I have two websites: 1. Main Site: Developed using Next.js with NextAuth for authentication. 2. Child Site: Developed using React with MSAL-React for authentication. Both applications share the ...
John's user avatar
  • 746
0 votes
0 answers
21 views

Discord.js 14 Slash Commands Duplicated

Not really sure why, but seems that my slash commands are registering twice. I've tried various methods, yes using ChatGPT, but so far all of the results have duplicates. Any suggestions? (Besides ...
Jesse Elser's user avatar
1 vote
1 answer
99 views

How do I make my Vertical Image Parallax Smoother?

I'm trying to make a parallax effect similar to the hover-over effects on the images on this site: https://www.framer.com/gallery/categories/portfolio and here is the code I have so far: document....
Skiddswarmik's user avatar
4 votes
1 answer
80 views

How to get a resource's relative path to HTML document?

Let's say I have a simple web project structured like this: ├─ 🗎 index.html ├─ � collection │ ├─ 🗎 item1.html │ ├─ 🗎 item2.html │ └─ ... ├─ � css │ ├─ 🗎 main_styles.css │ └─ 🗎 ...
user2526586's user avatar
  • 1,244
0 votes
0 answers
84 views

Replicate a water droplet cursor effect

I am trying to replicate the background magnification cursor effect you can see on this website using html, css, js. Does anyone have an idea of how I can do this? Any help would be welcome. I have ...
Ludovic Commanay's user avatar

1
2 3 4 5
…
50645