openwallet-foundation/bifold-wallet

[Credential Details] Layout is broken if long enough string attribute is displayed

AlexanderShenshin opened this issue · 0 comments

Description of problem

Credential Details screen layout is broken if long enough string attribute is displayed: Hide button is shifted to the right.

Expected behavior

Layout is not broken: Hide button is not shifted to the right.

Preconditions

Connection with a contact is created. Credential offer with a long enough attribute is sent from this contact and accepted. You can use “not so long attribute for a credential this time” for user name.

Steps to reproduce

  • Open the app.
  • Go to Credentials.
  • Tap credential from the preconditions => Credential Details screen is displayed.
  • Tap Show button for the Name field.

Screenshots and/or log output

Note: Screenshot was done on older version, but it was confirmed that issue reproduces on specified commit.

shifted hide button2

Environment

  • Occurs on Android
  • Occurs on iOS

Build #: https://github.com/hyperledger/aries-mobile-agent-react-native/tree/db3f18af25f554cd5d616e977e08551b77791c09

Android Device Model: Xiaomi Mi 10T Pro / MIUI version 12.5.3 (Android version 11 RKQ1.200826.002)

iOS Device Model: iPhone 8 Plus / iOS 16

Severity

  • High
  • Medium
  • Low