cancel
Showing results for 
Search instead for 
Did you mean: 

Accept.js - Issues with modal position

The Accept.js hosted payment form has two issues:

 

1. The modal is displayed off the screen if the browser window has already been scrolled down.  This can be fixed by overriding the container css with: 

 

#AcceptUIContainer { position: fixed !important; }

 

2. When the modal is closed, the browser is scrolled back to the top.  Could probably be fixed if there was a hook to preventDefault in the on close, but there does not appear to be any such event.

 

Are these known issues?  Are they being fixed?

 

This issue from 12/17 mentions the first item and also that it was being "worked on": https://community.developer.authorize.net/t5/Integration-and-Testing/Using-accept-js-in-a-single-pag...

 

Have not been able to find any info on the 2nd issue.

tjmoretto
Member
0 REPLIES 0