AWS form in a modal
-
Hello,
I’m currently trying to place 2 AWS search forms on a single page – one for desktops (placed in website header), another one for mobile devices (in a modal).
The desktop one is working fine, but the one in a modal is not working correctly. The positioning for .aws-search-results in modal form is not calculated correctly and the form is placed offscreen, (!) but this happens only sometimes. So, sometimes if I use modal search form, the .aws-search-results element is placed offscreen, but sometimes it’s positioned correctly right below the form.
When I resize screen, the offcanvas placed form is repositioned correctly.
So, is there any solution for this other than triggering ‘resize’ event via JavaScript when .aws-search-result is shown?
- The topic ‘AWS form in a modal’ is closed to new replies.