2,521,491 questions
Score of -5
0 answers
55 views
Owl Carousel product links don't respond to the first tap on Android after swiping [closed]
Owl Carousel product links don't work after swiping on Android
I'm experiencing a problem with Owl Carousel on my Laravel e-commerce website.
Problem description
On my Redmi 10 running Android 10 with ...
Score of -4
0 answers
54 views
iOS Safari: window.open with the same window name does nothing after the popup tab was closed with the back button
On iOS Safari, a page opens a popup with window.open() and a fixed window name.
On iPhone the popup opens as a new tab. If the user leaves that tab with the back button
(Safari closes the tab and ...
Score of 2
2 answers
154 views
How to avoid rendering delays when switching from text to dynamic selects?
I'm using Vue 3 with TypeScript and Element Plus to render a dynamic form.
In view mode, fields are displayed as text. In edit mode, they are replaced with el-select components using v-if / v-else.
...
Score of -9
0 answers
104 views
Fitting a family tree to the page width in the style of Burke's Peerage [closed]
I would like to make Template:Lineage on Wikipedia automatically resize the tree to fit the page width using a layout algorithm seen in Burke's Peerage and similar publications, where lines of descent ...
Score of -4
0 answers
51 views
Vue 3 – Best approach to avoid rendering delays with dynamic form inputs (v-if vs v-show)? [closed]
Title: Vue 3 – How to avoid rendering delays when switching dynamic forms from view mode to edit mode?
Hi everyone!
I'm working on a Vue 3 application using TypeScript and Element Plus, and I'm ...
Score of -4
0 answers
146 views
onload() not called when revisiting a PHP page (after upgrade to PHP 8.5) [closed]
My PHP V7.1.8 website has been working fine since 2017 but it has been broken by the recent upgrade to PHP 8.5! The website consists of PHP pages with JavaScript & HTML. Each page relies on a PHP ...
Score of 5
1 answer
319 views
Why does my JS make the browser scroll to the bottom of the page when switching to a section that's taller than the window height?
Here's my JS:
function ClearPage() // unloads every page
{
document.getElementById('home').style.display = 'none';
document.getElementById('menu').style.display = 'none';
document....
Score of -7
1 answer
167 views
Request for organic assistance debugging my fading-toolbar(JS)
I need help figuring out, why my navBar wont fade-out when I scroll down on my site. The site is approximately 500px deep and I have tried debugging all 3 files and don't have any error reports within ...
Score of -9
1 answer
115 views
How to integrate a USB/Bluetooth barcode scanner with a web app on Hostinger for student attendance? [closed]
I am building an automated student attendance tracking system using a web application hosted on Hostinger.
My workflow is to scan a QR code or Barcode printed on each student's ID card to mark them as ...
Score of 9
3 answers
424 views
How can I detect whether a font supports a specific Unicode character in JavaScript?
I'm building a web-based text/font tool where users can enter Unicode characters and preview them using different font families.
The problem is that not every font supports every Unicode character. ...
Score of -3
1 answer
126 views
error: Calling setState synchronously within an effect can trigger cascading renders
When I define a function that updates state and call it inside useEffect, I get a cascading render lint error.
Here is the relevant code:
export default function AdminDashboardPage() {
const [stats, ...
Score of 4
1 answer
194 views
unserialize/serialize objects in Node.js, similar to PHP
example from the DB:
...
Score of 1
1 answer
102 views
Object initialisation and firing initialisation event
I'm working on a project which is an interface handling thousands of rows of data, and I decided to make a "pagination" object. My idea is to give the object a collection of parent elements, ...
Score of 2
1 answer
153 views
How can Chrome’s built-in PDF viewer download button use a custom filename for an authenticated PDF?
I show a PDF from my backend in an <iframe> using Chrome's built-in PDF viewer. The endpoint requires a bearer token, so Angular fetches the PDF as a Blob and gives the iframe a blob: URL.
The ...
Score of 2
1 answer
110 views
Stop all sources from an array in Web Audio API
I am collecting all sound sources into an array so that I can stop them later. However, when I iterate through the array and call stop(), the sounds keep playing instead of stopping. Yet, if I call ...