Automattic / Automattic/simplenote-electron

Switching tabs causes a pending tag to be submitted

Open
#2,788 4 comments 0 reactions 0 assignees View on GitHub
[feature] tags bug
Dominant language
TypeScript
Stars
5.3k
Forks
588
Avg merge
9h 45m
Merged PRs (30d)
4

Description

If you are inputting a tag at the bottom of a note and then switch to another tab in the browser the tag will be submitted.

1. Be in Chrome
2. Have note open
3. Start adding a tag
4. Do not submit it
5. Switch to another tab
6. Switch back
7. Tag was submitted

@SylvesterWilmott is this a bug?

![Mar-18-2021 10-11-28](https://user-images.githubusercontent.com/6817400/111640214-5ee6d480-87d2-11eb-8998-1e790a0541df.gif)

Contributor guide

Open the contributing guide

Research direction

Reproduce the tag-entry flow in Chrome using the six steps in the issue, then trace the frontend handling for tag input when switching away from and back to a browser tab. Done means an unsubmitted tag remains pending after returning to the note and is submitted only through the intended action.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.