You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I click to open the modal, it initially appears as expected, but after a brief delay (less than a second) I am scrolled to the bottom of the page. I've tried adding the modal as a menu item and also as a Gutenberg block, but both give the same result. The issue is not present when added as a shortcode with the "type" set to "button".
This occurs with no customization to the plugin, all other plugins deactivated, and tested with both my own custom theme and with the "Twenty Twenty-One" theme.
The text was updated successfully, but these errors were encountered:
I think the issue has to do with the fact that the <a> versions of the trigger have an href that points to the modal div, which is at the bottom of the page in the DOM, while the <button> versions don't have an href.
Adding something like this to my js seems to fix the issue:
When I click to open the modal, it initially appears as expected, but after a brief delay (less than a second) I am scrolled to the bottom of the page. I've tried adding the modal as a menu item and also as a Gutenberg block, but both give the same result. The issue is not present when added as a shortcode with the "type" set to "button".
This occurs with no customization to the plugin, all other plugins deactivated, and tested with both my own custom theme and with the "Twenty Twenty-One" theme.
The text was updated successfully, but these errors were encountered: