Skip to content

Commit

Permalink
Replaced empty box with box of initial height to prevent flickering
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-SD committed Dec 15, 2023
1 parent b404f1e commit 770020c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/components/card/adyen_card_component.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ class AdyenCardComponent extends StatelessWidget {
AdvancedCheckout() => _buildCardAdvancedFlowWidget(sdkVersionNumber)
};
} else {
return const SizedBox.shrink();
return Container(
height: _determineInitialHeight(configuration.cardConfiguration),
);
}
},
);
Expand Down

0 comments on commit 770020c

Please sign in to comment.