Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

211
Views
Value change of Slider making chrome page unresponsive

I have Slider for range change in my react application. On value change of that slider, page is getting crashed. Following error is showing in chrome :

The following page(s) have become unresponsive. You can wait for them to become responsive or kill them.

Short code overview : React code handler for Slider (MUI) :

 const handleRangeChange = useCallback(
    (sensorConfiguration) => {
      setSensorConfigurations({
        ...sensorConfigurations,
        ...sensorConfiguration,
      });
      onChange({
        target: {
          name: name,
          value: { ...sensorConfigurations, ...sensorConfiguration },
        },
      });
    },
    [sensorConfigurations, name, onChange]

  const handleTemperatureChange = useCallback(
    (value) => {
      handleRangeChange({ TEMPERATURE: value });
    },
    [handleRangeChange]
  );

  return (
     <SensorRange
                range={sensorConfigurations.TEMPERATURE}
                min={DEFAULT_SENSOR_RANGES.TEMPERATURE.min}
                max={DEFAULT_SENSOR_RANGES.TEMPERATURE.max}
                indicators={DEFAULT_SENSOR_RANGES.TEMPERATURE.indicators}
                onChange={handleTemperatureChange}
              />;
  )


about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!