2,532,877 questions
0
votes
0
answers
6
views
svgicon does not be visible on browser
I follow the indications in:
https://mmf-fe.github.io/svgicon/guide/#vue-3-x
I just change arrow.svg (I do not know at witch file the documentation refers):
Also I created the project with:
npm create ...
0
votes
0
answers
7
views
Unable to resolve path to module 'three/addons/misc/Timer.js'
I’m trying to create a timer in THREE.js. All the libraries are installed through NPM and the seem to be correctly installed, I’ve created a scene and loaded an object with a GLTFLoader. Orbit ...
1
vote
0
answers
13
views
iOS Safari switches audio output to speakers when starting microphone recording with getUserMedia()
We have a flow in our app where we allow someone to be speaking (microphone) to a bot and the bot is talking back via audio.
It works fine when there is only one device, but if the user wants to use ...
0
votes
0
answers
14
views
Can npm workspaces sequence the build of monorepo projects?
I'm trying to figure out how to build multiple typescript projects that have common dependencies.
I need to build them so that common dependencies are built before the projects that depend on them are ...
-3
votes
0
answers
37
views
Convert VBA to Google App Script vLookupFormat [closed]
I´m trying to convert the following VBA code to App Script, basically it keeps cell format in a vLookup search. Works fine for years but now my company migrate to Sheets. The VBA code that I found on ...
-1
votes
1
answer
33
views
Get Session Model from webpage using jquery
I am doing an MVC 6 App. I have a model like this
public class SearchModel
{
public string SSN { get; set; } = string.Empty;
public string EmployeeNumber { get; set; } = string.Empty;
...
0
votes
2
answers
33
views
Wildcard javascript url redirect
Can't use htaccess, so have to rely on javascript.
Say the url is example.com/page1/page2/page3/ and I want to redirect this to example.com/page4/page3/ how would I do this? (and have this work for ...
0
votes
1
answer
17
views
app.post inserting data error: Cannot Get using NodeJS
I am trying to insert data into the SQL Server database using NodeJS.
When I ran the service and opened the browser-> localhost:5000 and I
got the page:
Error: Cannot Get (404) in NodeJS.
Seeking ...
0
votes
0
answers
16
views
swiper-slide: How to create hover &/or click interaction so when swiper-slide is clicked on the image pops up larger
I can't seem to get only the swiper-slide that's clicked on to pop up. Instead all the images with the class pop up at once.
I have tried using webflow native interactions in interactions panel using ...
0
votes
0
answers
11
views
Pause the blob audio in Safari
I am trying to load/download the audio file from the URL, create an HTML audio tag, and play it. Everything works fine. The audio will download without any issues from the URL and then play ...
0
votes
1
answer
22
views
GSAP scrolling within a container that has overflow hidden
I'm having trouble getting this section to do what I want. I'm brand new to gsap, so I'm sure I'm not even close...
Here's my codepen: https://codepen.io/mattmager/pen/WbemwmO
ScrollTrigger.create({
...
0
votes
0
answers
31
views
Javascript does not work when making slider [closed]
I am trying to make kind of a personal website, I would like to put there a slider with some projects I did. I have next to no experience with Javascript. HTML and CSS works fine, however when I try ...
0
votes
0
answers
8
views
How can I move an object in Three js and export it properly to IFC?
I am using the Components library from ThatOpen to load an IFC file to my Three.js scene. With DragControls I am able to move stuff around, and I save the moved elements to a Map with the expressIDs ...
0
votes
0
answers
24
views
output or use a js variable from the function (function ($, Drupal) {}) Drupal
After sending data from my php to my js with DrupalSettings, I can use this data only in the function
(function ($, Drupal) {
var myData = null;
Drupal.behaviors.customJs = {
attach: ...
0
votes
0
answers
22
views
Why is bootstrap able to load the backdrop for one modal but not the other
so here's my issue im building a django project based off of tutorials ect and I found for user feedback modals to be a good idea. I didn't want to create a lot of different code pieces for modals so ...
0
votes
0
answers
19
views
React-quill-new upgrades to react 18, toolbar list menus closes themselves on opening them
I have a problem on upgrading the quill editor using react-quill-new, them menus closes themselves on click and below is my code. please help me what to do
import ReactQuill from 'react-quill-new';
...
0
votes
0
answers
19
views
epub book doesnt display using epubjs, electron, but no errors in console log
i know im asking a lot, but if someone could help i would be very grateful as i am doing this for my college project and ive been stuck for days
i am not getting any errors in my console log but ...
0
votes
1
answer
28
views
using useEffect keep on calling api
I am trying to call rest api using useEffect but it's keeping on call rest spi unlimited time.
'user' is from createContext.
Below is the code snippet
useEffect(() => {
const fetchData = ...
0
votes
0
answers
22
views
How to Open a React Modal on an Active Page from a Chrome Extension Side Panel?
I am developing a Chrome Extension with a side panel, and I need to open a React modal on the active webpage when a button inside the side panel is clicked. However, since the extension runs in a ...
0
votes
0
answers
25
views
Apparent dynamic imports from ajv/dist/runtime in vendor.js build from Angular 18 using latest 8.17.1
I am using latest version of AJV Ajv JSON schema validator in an Angular 18 project. I have a single file that imports the AJV libary, sets up its options and uses it to validate my app's JSON. I can ...
-4
votes
0
answers
41
views
unable to retrive the data dynamically by filtering from database using servlets and mysql [closed]
I created a Dynamic Java Project with eclipse using sevlets mysql and trying to retrive the data dynamically when selected the particular discipline or batch. everything working fine and also the ...
0
votes
0
answers
11
views
Set Custom Icon based on Telemetry Key on Thingsboard
I have send the proper telemetry to my devices, that represents animals, as follows:
When it comes to represent each animal in a Route Map, my goal is to set a specific image based on the value of '...
-1
votes
0
answers
14
views
React 18 App (Integrated via Script) Fails to Navigate React 17 Host Using pushState
I am developing a project using React 18 and React Router DOM 6.28.0, which is embedded into any website via a tag. The project is a tour builder, and I need to navigate the host website ...
1
vote
0
answers
14
views
Firebase validation email url not allowed (blocked) when I have it whitelisted
I am sending an email verification link through my app, and ideally I want the link to open on my app.
My very first step is to test IF the link actually works. So I am generating the custom ...
-1
votes
0
answers
26
views
"e instanceof TouchEvent" in Safari doenst work
On Safari for MacOs this simple code part isnt working for me at all.
e instanceof TouchEvent - it seems that for some reason the "TouchEvent" is not fully supported by Safari for MacOs. It ...
0
votes
0
answers
30
views
Multi-API-CALL-IN-JavaScript
Description
What is the best way to call api if i wanted to call it multiple times. while ensuring api overhit (excessive api call hit per second), which delay technique is best to apply, best way to ...
0
votes
0
answers
10
views
How can I remove eval from Criteo's sslwidget.criteo.com/event which violates Content Security Policy?
I'm developer of the webapp that is using Criteo.
When I open my site, https://sslwidget.criteo.com/event is loaded.
It is a simple javascript code and contains some eval.
I want to remove its eval ...
0
votes
1
answer
66
views
How to create a scalable document element inside a container in HTML
for a program I need to show inside a container a document (not the HTML document element) and this document rect as a fixed width and height and should allow zooming from the user. For me making this ...
-5
votes
1
answer
57
views
Javascript carousel like-presentation gallery [closed]
I'm kind of a beginner developper and at university I have to do a website, and I wanted to do a carousel in the but blackbox AI and ChatGPT didn't really helped, it didn't work.
My objective is to ...
1
vote
2
answers
41
views
How to access state, without depending on in with createSelector?
I have a list of entities, each with the property active on it. I want to select those that are active, and to avoid rerendering them each time entities is updated (as an entity which is not active ...
0
votes
0
answers
15
views
Create a direct link that load a page with filter already applied [closed]
I need help with javascript code. I 'm using Elementor Pro and a gallery widget with three filters.
On the homepage i've three buttons that must link to the page with gallery. Button Infographic, ...
1
vote
0
answers
27
views
Chrome DevTools: How to Break when a javascript variable value is changed or accessed
I have been looking for a way to set a breakpoint when a variable's value is changed. Even better would be to break when a variable's value is accessed.
Most previous answers to this question are more ...
1
vote
0
answers
16
views
How to compile a single .svelte file from a SvelteKit app as a web component?
I have a SvelteKit 2/Svelte 5 app with out-of-the-box configuration - what you get by running npx sv create my-app. I want to build my app normally with adapter-node, but I also want to build a single ...
1
vote
1
answer
32
views
Guard flickers page then loads actual page
export const authorizedUserGuard: CanActivateFn = (route, state) => {
console.log('guard call', route, state)
const tokenService = inject(TokenStorageService);
const router = inject(...
-2
votes
0
answers
30
views
Uncaught TypeError: $(...).hexGridWidget is not a function - on second call [closed]
I'm moving my website to a new one and a personalized code stopped working and can't figure out why. The old page is working perfectly
but the new one shows up an error on the second time the function ...
1
vote
1
answer
60
views
how do I make text that goes below the screen on left div (screen split in 2 divs left and right) write itself on right div instead
I'm working on a typewriter animation where text is dynamically written in the left div of a split-screen layout (left and right divs). The issue is that when the text reaches the bottom of the left ...
-1
votes
1
answer
36
views
Uncaught runtime erros in axios get request in react app with express js backend
I've been working on a project and i react frontend and express backend so the backend is running on port 3000 and frontend is running on port 3001 what i was trying to do is add a axios get.to a ...
0
votes
0
answers
21
views
Safari - Audio Management for inactive tabs
Problem
In our enterprise React application, we're experiencing audio playback issues in Safari with the following scenario:
The app contains an iframe that plays MP3 narrations using Howler.js
When ...
-3
votes
1
answer
49
views
How to exchange selected value using toggle functionality?
There is a project for travel agency in which i am showing airport name and city and i want to swap/exchange selected airport and city using toogle functionality.
Here is the picture:
Here is the ...
3
votes
1
answer
23
views
Why is form.getEditor('CheckInToDate') returning undefined in my DevExpress form with custom templates?
I'm using DevExpress's Form widget to create two date editors: CheckInFromDate and CheckInToDate. I want to enable the second date box (CheckInToDate) only when the first date box (CheckInFromDate) ...
0
votes
0
answers
71
views
Programmatically import a CSS file by its relative file path
Background
I'm hosting legacy React components in an Angular app using a method similar to this one. There are lots of React components to bring in. They all import their own CSS with JS module ...
0
votes
1
answer
25
views
Unable to handle browser's inbuilt pfx authentication (SSL_CLIENT_AUTH_CERT) certificate popup in Playwright
(This is with reference to the answer https://stackoverflow.com/a/78943350/12876441)
I am facing same issue i.e not able to handle 'Select Certificate' pop up and click on ok button from the pop up ...
-5
votes
0
answers
31
views
Object key avaliable in network tab after api response, but when i console it is undefined [duplicate]
i received data from backend the benchmarks and temperatures keys is available in the network. See after console
see when i console this data after data fetching next line it will not there.
async ...
0
votes
1
answer
39
views
Reset Filters button only updates UI after second click [duplicate]
I have buttons Apply Filters and Reset Filters. When I click Apply Filters, it applies filters in the UI immediately, but when I click Reset Filters, it only is clicked after being clicked two times. ...
-1
votes
0
answers
28
views
Docker Failed to load resource: net::ERR_NAME_NOT_RESOLVED error
I'm setting up a multi-container environment using Docker Compose (version: '3.8'). My setup includes:
Percona MySQL Master & Slave for database replication
Backend service (Spring Boot)
Frontend ...
-1
votes
2
answers
48
views
How to clone on drag? [closed]
in React-grid-layout, Is it possible to "clone" an element, when user keeps "shift" key pressed while dragging it?
I need to provide an easy mechanism to create new elements in the ...
0
votes
0
answers
54
views
How to cancel a drop?
Is there a way to "cancel" a change of layout due to an item being dragged to a different location, when using "react-grid-layout"?
I need to do some "validation" and if ...
1
vote
2
answers
66
views
How should you snap an image to a grid via Javascript after it has been rotated with CSS?
I have a 9x6 grid with 80 px squares.
<div class = "grid" style="width: 720px; height:480px; margin: auto; background-color: white;">
<style>
.grid {
...
1
vote
1
answer
41
views
Share Form Fields In Different Forms
I have a login and register form(from react hooks) in my application. I want to reuse common fields for both forms.
Therefore, I have created components like emailField, passwordField etc. Since ...
2
votes
1
answer
24
views
Is there no way to create components dynamically using only Astro?
I’m working on an Astro project where I’m building a classic Pokédex. I have a PokemonCard.astro component that renders a Pokémon's details, and I’m trying to load more Pokémon dynamically when a &...