🐎 Diminue le debounce suite au cache de l'applicabilité
Il avait augmenté dans 9f119b4
pull/1210/head
parent
69b663d132
commit
ef17634e48
|
@ -62,6 +62,7 @@ describe('Simulateurs', function() {
|
|||
.invoke('val')
|
||||
.should('be', '500')
|
||||
}
|
||||
cy.contains('€/an').click()
|
||||
})
|
||||
|
||||
it('should allow to navigate to a documentation page', function() {
|
||||
|
|
|
@ -225,7 +225,7 @@ function TargetInputOrValue({
|
|||
color: colors.textColor,
|
||||
borderColor: colors.textColor
|
||||
}}
|
||||
debounce={1000}
|
||||
debounce={750}
|
||||
name={target.dottedName}
|
||||
value={value}
|
||||
className={
|
||||
|
|
|
@ -17,7 +17,7 @@ export default function Input({
|
|||
autoFocus,
|
||||
unit
|
||||
}) {
|
||||
const debouncedOnChange = useCallback(debounce(750, onChange), [])
|
||||
const debouncedOnChange = useCallback(debounce(550, onChange), [])
|
||||
const { language } = useTranslation().i18n
|
||||
const { thousandSeparator, decimalSeparator } = currencyFormat(language)
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ export default function RuleInput<Name extends string = DottedName>({
|
|||
<CurrencyInput
|
||||
{...commonProps}
|
||||
language={language}
|
||||
debounce={1000}
|
||||
debounce={750}
|
||||
value={value as string}
|
||||
name={dottedName}
|
||||
className="targetInput"
|
||||
|
|
Loading…
Reference in New Issue