[bug] Prevent posting unless "Post" is explicitly clicked/touched #351

Open
opened 2023-10-08 18:03:30 +00:00 by pinkbow · 1 comment

Version

https://akkoma.dev/AkkomaGang/akkoma-fe/commit/596ae7e

What were you trying to do?

I was writing a post, on mobile (Google default Chrome browser). The text in Akkoma is extremely small (hopefully someday Akkoma will be mobile-friendly, but that's a separate issue). So, I end up pinch zooming in and out in order to be able to read the text and navigate the input textbox. Sometimes, in my attempt to pinch zoom, I'll make a flawed attempt which is regarded as a touch by the phone. If that touch happens to be outside the input textbox, Akkoma will post my half-written comment. Note that the "Post" button was not touched or clicked, as it was not visible on the screen due to the required zooming.

What did you expect to happen?

Touches outside the input textbox should be ignored, and no matter where I click or touch, a post should never be made unless I explicitly click or touch the "Post" button.

What actually happened?

Akkoma posted my half-written message, which I had to scramble to delete.

Severity

I cannot use it as easily as I'd like

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Version https://akkoma.dev/AkkomaGang/akkoma-fe/commit/596ae7e ### What were you trying to do? I was writing a post, on mobile (Google default Chrome browser). The text in Akkoma is extremely small (hopefully someday Akkoma will be mobile-friendly, but that's a separate issue). So, I end up pinch zooming in and out in order to be able to read the text and navigate the input textbox. Sometimes, in my attempt to pinch zoom, I'll make a flawed attempt which is regarded as a touch by the phone. If that touch happens to be outside the input textbox, Akkoma will post my half-written comment. Note that the "Post" button was not touched or clicked, as it was not visible on the screen due to the required zooming. ### What did you expect to happen? Touches outside the input textbox should be ignored, and no matter where I click or touch, a post should never be made unless I explicitly click or touch the "Post" button. ### What actually happened? Akkoma posted my half-written message, which I had to scramble to delete. ### Severity I cannot use it as easily as I'd like ### Have you searched for this issue? - [ ] I have double-checked and have not found this issue mentioned anywhere.
Author

I think this might have already been solved: 8c6ccc321d

I think this might have already been solved: https://akkoma.dev/AkkomaGang/akkoma-fe/commit/8c6ccc321d5c4b0126f274b14ea6e26a99b483cc
Mergan added the
Bug
label 2024-03-01 03:38:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma-fe#351
No description provided.