Skip to content

Conversation

@maros-petrus
Copy link

Fixes #11555

  • added a workaround for the text fiel to be able to show the spaces (spaces need to be replaced by unicode space)

To test:

  1. Start creating a new site
  2. When entering the title, enter some name with spaces, spaces are now normally visible during typing

Update release notes:

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

…until you type the next letter

- added a workaround for the text fiel to be able to show the spaces (spaces need to be replaced by unicode space)
Copy link
Contributor

@frosty frosty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this issue!

So this change does indeed fix the issue of spaces not showing in the title and tagline fields during typing. However, as we're inserting non-breaking spaces, I noticed that it causes issues with long site titles / taglines wrapping:

text-wrap

I think we can fix this by replacing the unicode spaces back with normal spaces in textFieldDidEndEditing. Would you be able to make that change?

…until you type the next letter

- replaced unicode spaces by the normal ones to prevent incorrect word wrapping
@maros-petrus
Copy link
Author

@frosty sure! I've pushed it to this branch. Thank you!

Copy link
Contributor

@frosty frosty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good! Thank you for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Site Creation: Space in the title/tagline doesn't appear until you type the next letter

2 participants