search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉238433862

P粉238433862

Follow
student

Follow 0
fans 0
integral 0
React Three Fiber: Why are my scroll events lagging?

In ReactThreeFiber, I have a React component that generates a sprite that I want to persist across camera zooms. The algorithm seems to work (the size doesn't seem to change over time), but I can visibly see it scaling when zooming in and out. I've seen something similar done to sprites elsewhere and it seems to work fine with no problematic appearance. I think there is some kind of lag, but I'm not sure where it is or how to fix it. I've also attached a video of the issue: https://drive.google.co

2024-04-06 13:39:24Ask
React
I'm building three pages using React, each page has its own css file and there is only one css file for each page

I'm working on these three pages: App.js has two buttons, when you click the first button it takes you to the "/quotes" page and when you click the second button it takes You enter the "/recommendations" page. The html for all three works, but whenever I go to "/quotes" or "/recommendations" the App.jshtml content and css content continue to appear (in a very weird and broken way that looks very Oops). Here is an example: This is me

2024-04-04 10:07:16Ask
CSS3
Declare props in arrays and object arrays

I just discovered that instead of defining the properties of a component like this: constprops=defineProps({id:Number,title:String,name:String,}) I can do this: defineProps(['id','title','name' ,]) This doesn't seem to require a type declaration, but are there any downsides to this? Does vue determine the type of each attribute by itself? I'm using scriptsetup.

2024-03-21 18:50:02Ask
Vue.js
When the window is reduced to less than 90%, the jQuery top scroll bar fails

I'm using ASP.NETVB and I've implemented a top scrollbar that simulates the default bottom scrollbar. For some reason... when I resize the window, the top scrollbar stops working if the size goes below 90%... it continues to work as soon as the size goes back to 90% or above... I'm looking for Not sure about a solution or any help...I tried limiting the width to 90% of the width which still worked but it didn't work...it seems like resize operations less than 90% are the only cause of the problem...while Not the width itself... I could be wrong though

2023-09-12 12:33:19Ask
CSS3
Image not loading in page

I want to load sliding images in a web application and for this I am using Bootstrap carousel. Get pictures from the background. Images are stored in image state. Below is the JSON format for getting the data. images:[{SNO:'1',NAME:'image.jpg',PIC_NAME:'image'}] After uploading the images, they are stored in a special folder in Nodejs and from there, I use the endpoint to extract the images. Below is the Nodejs code images.get('/Images/getImag

2023-09-09 20:59:03Ask
React
How to use search bar with two different values?

I tried adding another value (organization.name) to the search bar which was already working successfully, in order to not only filter the list of SearchTerms from organization.topic. But he didn't add it..constfilteredOrganizations=context.allOrganizations.filter((organization)=>(organization.topic.searchTerms.

2023-09-07 17:28:41Ask
React
Tips for justifyContent using framer-motion's scrolling interpolation

I have a piece of code that animates between x values, but it doesn't work when trying to transition from justify-content:center to left. The following is a code snippet: functionNavbar(){const{scrollY}=useScroll();constx=useTransform(scrollY,[0,100],["center","left"]);return(<mot

2023-08-31 18:42:45Ask
React
IntelliJ cannot resolve dependency: mysql-connector-java

I'm running into an issue where IntelliJ doesn't recognize the mysql-connector dependency in my pom.xml file. It shows up in red and says "Dependency 'mysql:mysql-connector-java:8.0.25' not found". I don't need to download anything, right? Is it enough to just declare dependencies in pom.xml? I had the same problem with maven-failsafe-plugin. My pom.xml file dependencies are as follows: <dep

2023-08-25 12:21:39Ask
MySQL
Laravel public folder returns 404 error (.htaccess)

I have a .htaccess file. Through this file I can detect the language by subdomain. There is no problem in this regard. However, when I redirect the incoming request to a file under the public folder, I get a 404 error and the language doesn't work. SetEnv DEFAULT_LANG en Options +FollowSymLinks -Indexes

2023-07-28 18:04:13Ask
PHP