@bytebrand/fe-ui-core 4.2.192 → 4.2.194

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.2.192",
3
+ "version": "4.2.194",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -2,7 +2,6 @@ import React, { useState, useEffect } from 'react';
2
2
  import FormattedNumber from '../../FormattedNumber/FormattedNumber';
3
3
  import { Slider } from '@mui/material';
4
4
  import { isMobileOnly } from 'react-device-detect';
5
- import { iOS } from '../../../framework/utils/CommonUtils';
6
5
  import { createTheme, ThemeProvider } from '@mui/material/styles';
7
6
 
8
7
  interface IRangeProps {
@@ -41,7 +40,6 @@ const Range: React.FC<IRangeProps> = ({
41
40
  maxFinancingFirstInstallment
42
41
  }: IRangeProps) => {
43
42
  const [rangeValue, setRangeValue] = useState<number | number[]>(0);
44
- const isIOS = iOS();
45
43
 
46
44
  useEffect(
47
45
  () => {
@@ -51,9 +49,6 @@ const Range: React.FC<IRangeProps> = ({
51
49
  )
52
50
 
53
51
  const onChangeRange = (event: Event, value: number | number[]) => {
54
- if (isIOS && event.type === 'mousedown') {
55
- return;
56
- }
57
52
  setRangeValue(value);
58
53
  onChange(event, value)
59
54
  }