Positioning the results inside a modal window
-
Is there a way to get the search results to position relative to the search form in a modal, or retrigger the positioning after the modal has shown? When calculating the position, it ends up offset to the bottom right considerably. Here is a screenshot illustrating the result position. Ideally I’d like it anchored to the modal window, or even not positioned but just dumped into a div in the modal-dialog since the modal will position automatically. Perhaps there is a method to override the properties for top, left, and width shown in this screenshot using PHP or Javascript? I’m using bootstrap 4.6, with a modal dialog vertically centered if that is helpful.
Thanks in advance, this plugin is great ??
- The topic ‘Positioning the results inside a modal window’ is closed to new replies.