Closed jamcry closed 2 years ago
getNumberSeparators are called on every locale change inside Input. That function isn't supported in some browsers (such as mobile UCBrowser), thus causing app to crash
getNumberSeparators
locale
Input
Sentry Error (here) details:
Cannot read property 'value' of undefined {snip} THS_SEPARATOR:e.find((function(t){return"group"===t.type})).value,DECIMAL_NUMBER_SEPARATOR:e.find((function(t){return"decimal"===t.type})).v {snip} user agent: Mozilla/5.0 (Linux; U; Android 11; en-US; LE2100 Build/RKQ1.201112.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.108 UCBrowser/13.4.0.1306 Mobile Safari/537.36
Cannot read property 'value' of undefined {snip} THS_SEPARATOR:e.find((function(t){return"group"===t.type})).value,DECIMAL_NUMBER_SEPARATOR:e.find((function(t){return"decimal"===t.type})).v {snip}
user agent: Mozilla/5.0 (Linux; U; Android 11; en-US; LE2100 Build/RKQ1.201112.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.108 UCBrowser/13.4.0.1306 Mobile Safari/537.36
Alternative sentry issue: https://sentry.io/organizations/hipo/issues/3147060839/?project=5954039&query=getNumberSeparator&statsPeriod=90d&utc=true
Intl
Should be fixed with separated NumberInput component.
getNumberSeparators
are called on everylocale
change insideInput
. That function isn't supported in some browsers (such as mobile UCBrowser), thus causing app to crashSentry Error (here) details: