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

[Web] Warn user before navigating when composer is open #5388

Open
axiand opened this issue Sep 17, 2024 · 1 comment
Open

[Web] Warn user before navigating when composer is open #5388

axiand opened this issue Sep 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@axiand
Copy link

axiand commented Sep 17, 2024

Describe the bug
When the post composer is open, it's easy to lose a draft by accidentally refreshing or navigating in history.

To Reproduce

Steps to reproduce the behavior:

  1. Open the post composer
  2. Write some text
  3. Hit the refresh button or back/forwards buttons
  4. Post draft is lost

Expected behavior
I should be presented with a dialog like screenshot 1. that warns me before navigation occurs.

Screenshots

  1. The browser dialog
    image

Details

  • Platform: Firefox, Windows 10
  • Platform version: 130.0
  • App version: Build version: 1.91.1; Bundle info: fb71fff (prod); Bundle date: 24091621; Platform: web

Additional context

(none)

@axiand axiand added the bug Something isn't working label Sep 17, 2024
@Nayelianne
Copy link

The amount of times I accidentally clicked away from the text box when editing my bio or a list description, and lost everything I've written because it just closed the window without warning... T_T

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants