3DS2 error scrollTop animation selector invalid

Created on 14 August 2023, over 1 year ago

Problem/Motivation

If an error occurs invoking the 3ds2 component, an attempt is made to scrollTop to the message. The selector, though, contains an error, and instead a js error occurs.

Steps to reproduce

1. Perform a checkout using 3ds2 that generates a client error.
2. The simplest way to do this is by using a braintree account that does NOT have 3ds2 enabled, e.g. a USD account.
3. The rendered error should be scrolled to. Instead, a js error occurs.

Proposed resolution

Fix the selector.

While we are here, let's be consistent with other error handlers and log the error to the console.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States TomTech

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024