Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing Enter in Add Filter dialog results in "Leave page?" prompt #1112

Closed
djast opened this issue Apr 28, 2023 · 0 comments
Closed

Pressing Enter in Add Filter dialog results in "Leave page?" prompt #1112

djast opened this issue Apr 28, 2023 · 0 comments
Labels
bug Something isn't working sieve filter scripting

Comments

@djast
Copy link

djast commented Apr 28, 2023

Describe the bug
In the Settings -> Filters -> rainloop.user -> Add a Filter dialog, pressing Enter in the Name field results in a browser warning; e.g., "This page is asking you to confirm that you want to leave -- information you've entered may not be saved" in Firefox, or "Leave site? Changes [that] you made may not be saved" in Microsoft Edge or Chrome.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings -> Filters
  2. Click on rainloop.user
  3. Click "Add a Filter"
  4. With the cursor in the Name field (or, with Firefox, with keyboard focus on one of the checkboxes, e.g. "Mark as read" or "Stop further processing of files"), press Enter.

Expected behavior
The browser should not attempt to submit the form or otherwise navigate away from the page. The keyboard focus should probably move to the next field (as if the user had pressed Tab rather than Enter).

Please complete the following information:

  • Browser: Firefox 102, Chromium 110.0.5481.77, Microsoft Edge 110.0.1587.41
  • IMAP daemon: dovecot
  • PHP version: 7.4.33
  • SnappyMail Version: 2.27.3
  • Mode: standalone; also at https://snappymail.eu/demo
@the-djmaze the-djmaze added the bug Something isn't working label May 1, 2023
@the-djmaze the-djmaze added the sieve filter scripting label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sieve filter scripting
Projects
None yet
Development

No branches or pull requests

2 participants