Tag editor keyboard bug (mobile)

AI-generated summary

A bug has been reported in the mobile version of the Discourse app and Safari, where the keyboard minimizes while typing when adding a tag to a topic. ChrisBeach has been experiencing this issue on their iPhone X and finds it infuriating and error-prone. codinghorror inquired if editing/adding tags on mobile was even supported, to which ChrisBeach replied that they had been adding tags on mobile for years and this bug is a recent development.

codinghorror suggested that joffreyjaffeux take a look at the issue. joffreyjaffeux acknowledged the problem and promised a fix. Later, joffreyjaffeux updated that they were working on a solution for the 2.0 release, and eventually found a simple solution, which is not perfect but should improve the tag input on mobile. The fix has been committed to GitHub (commit).

When adding a tag to a topic, the keyboard keeps minimising while typing, making the process infuriating and error prone! Would appreciate if this could be looked at

Tested on iPhone X, Discourse app and Safari

2 Likes

Do we even support editing / adding tags on mobile yet @sam?

I’ve been happily adding tags on mobile for years.

This bug is new - as of an update some time in the last few days

Aha maybe @j.jaffeux could take a look.

4 Likes

Yes I know what’s going on here, it’s more recent than this I think. Will get a fix.

6 Likes

Just want to let you know that I’m working on this and want it to be fixed for 2.0 release. I don’t have a good solution yet though.

3 Likes

After going for a very complex solution… I ended up coming to this very simple solution which is not perfect but should do what you expect, I will look to improve this in the future, but it will at least bring a decently working tag input on mobile for 2.0:

https://github.com/discourse/discourse/commit/4b9c713581627bc803eaa9c11f2543a45d3664db

Thanks for reporting it.

7 Likes