Swiper block triggers unnecessary page leave confirmation
-
Thank you for the great plugin!
I would like to report a bug I recently encountered: the WP Swiper block triggers an unnecessary page leave confirmation.
Steps to Reproduce:
- Install WP Swiper on any WordPress installation.
- Open any existing post or create a new one.
- Add some post content, e.g., lorem ipsum text, to ensure the content is longer than the page view.
- Add the WP Swiper block with one or more image slides.
- Save the post.
- Reload the page (or open the edit post URL in a new tab).
- Scroll slightly down the page without clicking anywhere.
- Try to leave the page by clicking on a WP menu link or pressing F5.
Current Behavior:
A page leave confirmation appears with the message:
“This page is asking you to confirm that you want to leave — information you’ve entered may not be saved.”Expected Behavior:
No page leave confirmation should appear unless actual changes are made to the post.
Additional Notes:
- The issue is directly related to the WP Swiper block. When the slider is removed, the problem disappears.
- The issue can be consistently reproduced on a clean WordPress installation.
Please look into this and release a fix.
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.