🐎 Diminue le debounce suite au cache de l'applicabilité

Il avait augmenté dans 9f119b4
pull/1210/head
Maxime Quandalle 2020-11-09 16:23:44 +01:00
parent 69b663d132
commit ef17634e48
4 changed files with 4 additions and 3 deletions

View File

@ -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() {

View File

@ -225,7 +225,7 @@ function TargetInputOrValue({
color: colors.textColor,
borderColor: colors.textColor
}}
debounce={1000}
debounce={750}
name={target.dottedName}
value={value}
className={

View File

@ -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)

View File

@ -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"