Skip to content

Adding more checkboxes deletes content on mobile #19412

Closed
@Giszmo

Description

@Giszmo

Description

Adding checkboxes in the markdown editor deletes the last word of the prior line on mobile.

To reproduce:

  1. Open try.gitea on Android Firefox
  2. Create issue
  3. Type "some sentence"
  4. Click the "checkbox" button

Result

some
- [ ]

Expected (and result on Firefox desktop)

some sentence
- [ ]

Gitea Version

1.17.0+dev-428-gdeffe9e52

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I noticed the issue on an install from snap but it's reproducible on try.gitea, too.

Database

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions