Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
25 views

I have a new Rails 8 application built with Bootstrap, Ruby 3.4.7, MySQL, and Haml, running in Firefox 145. It all looks good, except for the uncaught exception: Uncaught SyntaxError: import ...
willyab's user avatar
  • 322
0 votes
1 answer
21 views

I currently program in this two stacks when needed. I´m civil engineering not a programmer. For some small programs that run local, no need for database or server. As much a link to a CDN to provide ...
José's user avatar
  • 1
0 votes
0 answers
24 views

Always I reload any page happens a quickly flash that change the entire system to dark mode and come back again, but really quick. Before, this was happens also on dark mode too, but i could fix it ...
Samuel Franklin's user avatar
-4 votes
0 answers
26 views

I'm building a website at the moment but having trouble with my sidebar disappearing while scrolling on mobile (I checked chrome). I noticed that it only disappears when the overlay disappears on the ...
Sajokrit's user avatar
0 votes
0 answers
10 views

I have an app where users are able to join a group and broadcast messages to that group. This is the relevant code: await supabseClient.realtime.setAuth(); const channel = supabseClient.channel('test'...
Danziger's user avatar
  • 21.4k
1 vote
1 answer
40 views

I am trying to validate the input based on previous selection using SurveyJS. The input in last section of Duration should depend on previous selection of Days or Months or Years. If I keep only ...
user2854333's user avatar
1 vote
0 answers
19 views

I am using FormIO version 6.14. In the "Select Component", under the "Validation" tab, in the "Custom Validation" (JavaScript) section, I see a property called Show as ...
Ričardas Olikaiskas's user avatar
1 vote
0 answers
23 views

I’m hitting a super weird issue with OpenAI’s streaming API and I’m lowkey losing my mind here so if anyone ran into this before pls tell me wtf is going on because I can’t tell anymore if it’s me or ...
Eli's user avatar
  • 19
Best practices
0 votes
2 replies
31 views

I am working on a byte editor like DataView but with more features and I was wondering how to detect if a TypedArray was signed or not. I already have this, const signedTypes = new Set([ Int8Array,...
Shohjahon Jalilov's user avatar
0 votes
0 answers
27 views

I'm trying to implement data logger using Svelte and SVAR's dynamic DataGrid. Log data array is updated by polling REST API with a given interval (I'm using REST mockup for now). For the first rows ...
ub0baa's user avatar
  • 105
Best practices
0 votes
2 replies
43 views

I wish to display in an html page and control its scrolling, the image of a pdf hosted on a server. I am currently using Mozilla’s pdf.js scripts, which work well for pdf files stored on my computer. ...
jean-marie Detrey's user avatar
0 votes
0 answers
11 views

I am trying to integrate a custom CKEditor 5 plugin (LanguageTool) into Drupal 10 using a custom module. The plugin builds successfully, but when Drupal loads the editor, the browser console shows: ...
Jency's user avatar
  • 1
0 votes
2 answers
44 views

How to display <NavLink> components inside the Footer? I cannot place the Footer inside RouterProvider. The Footer component should be displayed on every page. function App() { const router = ...
stot's user avatar
  • 1,137
0 votes
2 answers
74 views

This is a incomplete website design I have been working with. The problem is when I reduce the width of the browser the triple dash appears but for some reason the checkbox becomes unclickable. I ...
Kraker's user avatar
  • 51
1 vote
0 answers
22 views

Excel re-triggers custom functions created in office.js api addin, but from documentation it should only re-trigger the formulas which are volatile function and in office.js api to specify custom ...
Shukla Dev's user avatar
0 votes
0 answers
28 views

I’m implementing a password-reset and email-verification flow. After we send an email to the user, we want to provide quick-access links such as: “Search this email in Gmail” “Search this email in ...
jron's user avatar
  • 186
-4 votes
0 answers
35 views

I have this code targets: 2, data: null, name:'serialValue', defaultContent: '', ...
user123456's user avatar
  • 2,659
-2 votes
0 answers
70 views

I have this code : this.dataTable2 = roles.$table.find(".organization-roles-table").DataTable({ paging: true, serverSide: true, processing: true, deferLoading: 0, //prevents ...
user123456's user avatar
  • 2,659
0 votes
1 answer
33 views

i’m building a small AI chat ui in react (next.js app router, react 18) that streams tokens from my backend (openai style stream). basic flow: user types a prompt i push the user message into ...
Eli's user avatar
  • 19
0 votes
0 answers
36 views

I’m trying to amend cells in a Google doc using their api. But I can’t seem to delete text from the tableCell. I always get the invalid deletion range error. There is this duplicate question. But the ...
Todd's user avatar
  • 1,983
-1 votes
2 answers
61 views

I'm having error when trying to run below code: import { test, expect} from '@playwright/test'; export class HomePage{ constructor(page){ this.page=page; this.headerLabel='....
AizuddinAzman's user avatar
1 vote
0 answers
42 views

I'm working on a project, which uses a react SSR module (using Vite). Then I'm using a seperate worker which loads my site and there's link /load-ssr which loads the SSR module as a "binding"...
AwaisMehnga's user avatar
0 votes
1 answer
50 views

I have an application that consists of three parts: a Python server application, a web front end that is connected to the Python tool via WebSocket, and a second website that is connected to the first ...
dichterDichter's user avatar
2 votes
1 answer
47 views

The Problem I am using ECharts and I need the chart to take up the full width of the container. Therefore, I set grid.left and grid.right to 0. However, this causes the first and last labels on the x-...
yym xtxd's user avatar
-5 votes
0 answers
140 views

How do I force Google Translate to translate text inside <code> tags on my webpage? I read online that the <code tag can be replaced with a <span tag and then reverted after allowing ...
Baangla Deshi's user avatar
-5 votes
0 answers
56 views

How to run a function after Google translate translates a webpage ? I am asking to do so because Google translate does not translate text that is between the <code.....> and </code> tags ...
Baangla Deshi's user avatar
0 votes
0 answers
58 views

I have written a simple Alexa skill which works and I've now added a Widget, these both display as expected. I am now trying to use the datastore but every time I try to update the store, I am getting ...
Chris's user avatar
  • 43
0 votes
0 answers
35 views

I have a React + PrimeReact component that displays static text, and when the user clicks an edit button it switches to editable inputs (InputText, InputTextarea, InputNumber, etc.). The entire ...
Jose Luiz Durigon's user avatar
1 vote
0 answers
87 views

I try to execute the follow code fragment (actually the calling of JavaScript module inside of the python code): from py_mini_racer import MiniRacer ctx = MiniRacer() ctx.eval(""" ...
monteis's user avatar
  • 11
0 votes
0 answers
30 views

Why does updating state in React inside a loop cause stale values even when using functional updates?
Mayank jandu's user avatar
2 votes
1 answer
47 views

On a React App, I'd like to remove the accessory bar that appears above the iOS keyboard when we are focusing on a textarea. Is it possible ? I tried a few things saw on the internet but nothing works ...
Julien trqt's user avatar
-3 votes
1 answer
70 views

I'm wondering whether the variability in the size of individual items in the input array of a function changes how we represent its space complexity. If we have an algorithm that takes in an array and ...
corsair83's user avatar
1 vote
0 answers
29 views

I’m having an issue with Mobile Layout not being detected when using a PBIP/PBIR-Enhanced report, even though the exact same report works fine when published as a PBIX that was originally created ...
Emilio Fernández's user avatar
1 vote
0 answers
34 views

With Angular 21, I can't test (with vitest) a non-standalone component using the Async pipe. I get the following error: X [ERROR] NG8004: No pipe found with name 'async'. To fix this, import the "...
Scipion's user avatar
  • 12k
2 votes
1 answer
125 views

I use this package and my function is this: const formatDate = ( date: string | Date, dateFormat: string = 'PP p', timezone?: string, ) => { const zoneDate = toZonedTime(date, timezone ?? '...
Torben's user avatar
  • 5,552
0 votes
1 answer
49 views

as per below code, from GoogleSheet, I wanted WhatsApp to open with some specific text ready to be sent when user sets a cell to "Ready to Print". The problem is every time a column in ...
Valerie Ho's user avatar
0 votes
0 answers
77 views

The following is my 3D renderer, written in HTML and JavaScript for the time being. I've ironed out many kinks in it so far, and have finally gotten it to render a somewhat normal cube, but when Z ...
Fomantis's user avatar
0 votes
1 answer
46 views

I'm trying to change a variable when I click on specific text in a content editable div, trying to simulate a hyperlink. When I console.log the target on Noteblock events and use an if statement to ...
Out of Nightvale's user avatar
-2 votes
0 answers
60 views

What's the easiest way to put an HTML element into a variable in the browser dev console? I usually use this pattern: inspect the element, right click > copy selector path open the console, foo = ...
Nils's user avatar
  • 426
Best practices
0 votes
0 replies
29 views

I'm receiving an H.265 (HEVC) bitstream in Annex B format over a WebSocket in the browser. Using the received bytes I can construct EncodedVideoChunk objects and decode them with the VideoDecoder API. ...
zezhong zhang's user avatar
0 votes
3 answers
101 views

In Scrimba's "Data Structures and Algorithms" course, in the lesson called "Challenge: Palindrome", the teacher analyzed the space complexity of the following program as O(n * k) (...
corsair83's user avatar
3 votes
0 answers
89 views

Thanks for the help in advance. For the life of me, I cannot get a particular scroll animation to execute which utilizes gsap and lenis. I've assembled the code to the best of my ability: https://...
Charles K.'s user avatar
0 votes
1 answer
37 views

I’m having an issue with Kendo MultiColumnComboBox where the select event is not fired from time to time. Component: Kendo jQuery MultiColumnComboBox Option: serverFiltering: true Symptom: After ...
guli5057's user avatar
Best practices
0 votes
2 replies
77 views

I’m building an e-commerce type website in Next.js where there are multiple sections of stores. Each store card has a heart icon to mark it as a favourite. The same store can appear in: multiple ...
Ali Sadain Tanvir's user avatar
-4 votes
0 answers
80 views

I have a webapp that depends on object-inspect, which has caused issues in the browser before, but there was a fix which I think is part of new package because the fix is part of the documentation for ...
AncientSwordRage's user avatar
Advice
1 vote
1 replies
44 views

Here is my on message handler: const onMessage = (event: MessageEvent) => { try { const message = JSON.parse(event.data); const normalizedMsg = Array.isArray(message) ? message : [...
stephano's user avatar
  • 172
Advice
3 votes
3 replies
69 views

In JavaScript, the object that this refers to in an object method changes depending where the method is being called from: window.myString = "what"; const o = { myString: "Hello ...
user3163495's user avatar
  • 3,968
-1 votes
0 answers
75 views

I have a React (Vite) frontend and a FastAPI backend. I want to protect /dashboard so that the Dashboard.jsx component is not downloaded by the browser unless the user is authenticated. In a normal ...
KaranSRMA's user avatar
3 votes
2 answers
71 views

I am trying to understand how to make a web component with attributes. There is 2 problems I don't understand in the following code: The div with the text 'the style of class is not applied' doesn't ...
Ant's user avatar
  • 319
Tooling
0 votes
0 replies
50 views

So I have an MEAN stack application where user types query ( or copy from mongodb compass ) in a editor and I use nodejs in backend to perform that query , So I use codemirror editor to text codes , ...
Vignesh's user avatar
  • 61

1
2 3 4 5
50539