Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Components in payment layout-set show while create payment is loading #2740

Open bjorntore opened 4 days ago

bjorntore commented 4 days ago

Description of the bug

Patentstyret want to show an extra paragraph in the payment page to inform the user that they can try another payment method if Nets Easy fails for some reason.

However, the paragraph they added shows up while "Create payment" is being called. Our loading indicator shows next to it. It would be best if no other components than the loading indicator showed.

See if it's possible to solve somehow. If we can't solve it, we probably need to solve the issue of showing the paragraph in another way. Some kind of failure handling in the payment component.

Steps To Reproduce

1...

Additional Information

No response