# Spaces after "@" when creating new objects

**URL:** <https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105>\
**Category:** Closed\
**Tags:** Editor-or-Blocks, Desktop, Properties\
**Created:** [January 18, 2023, 10:07pm UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105 "2023-01-18T22:07:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![f0ca](https://community.anytype.io/letter_avatar_proxy/v4/letter/f/4af34b/32.png) [@f0ca](https://community.anytype.io/u/f0ca)\
**Post date:** [January 18, 2023, 10:07pm UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/1 "2023-01-18T22:07:44Z")

</div>

Don’t know if this is a bug or just a feature change, but since the newest update (Version: 0.30.0) I can’t use spaces between words when creating a new object quickly using “@” before it. When I hit the space key, the “new object” pop-up disappears. Is that supposed to happen?

---

<div class="post-metadata">

**Author:** ![sambouwer](https://community.anytype.io/user_avatar/community.anytype.io/sambouwer/32/12157_2.png) [@sambouwer](https://community.anytype.io/u/sambouwer)\
**Post date:** [January 18, 2023, 10:10pm UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/2 "2023-01-18T22:10:09Z")

</div>

@f0ca Thanks for posting! Could you make a screen recording of this happening? It sounds like a bug 😉

---

<div class="post-metadata">

**Author:** ![f0ca](https://community.anytype.io/letter_avatar_proxy/v4/letter/f/4af34b/32.png) [@f0ca](https://community.anytype.io/u/f0ca)\
**Post date:** [January 18, 2023, 10:16pm UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/4 "2023-01-18T22:16:32Z")

</div>

Sure!  
Before this update, the “create object” pop-up stayed after I’ve hit space

[https://community-static.anytype.io/original/2X/3/392d9ab0a669aaaf96da350ce2a7842ffe7b3055.mp4](https://community-static.anytype.io/original/2X/3/392d9ab0a669aaaf96da350ce2a7842ffe7b3055.mp4)

---

<div class="post-metadata">

**Author:** ![Angelo](https://community.anytype.io/user_avatar/community.anytype.io/angelo/32/9996_2.png) [@Angelo](https://community.anytype.io/u/Angelo)\
**Post date:** [January 18, 2023, 10:17pm UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/5 "2023-01-18T22:17:15Z")

</div>

This report has been added to our issue tracker and received by the Development Team.

---

<div class="post-metadata">

**Author:** ![sambouwer](https://community.anytype.io/user_avatar/community.anytype.io/sambouwer/32/12157_2.png) [@sambouwer](https://community.anytype.io/u/sambouwer)\
**Post date:** [January 18, 2023, 10:17pm UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/6 "2023-01-18T22:17:31Z")

</div>

Thanks! I’ve moved your topic to the Bug category.

---

<div class="post-metadata">

**Author:** ![Razor](https://community.anytype.io/user_avatar/community.anytype.io/razor/32/28735_2.png) [@Razor](https://community.anytype.io/u/Razor)\
**Post date:** [January 19, 2023, 8:54am UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/8 "2023-01-19T08:54:39Z")

</div>

It was working like this from the beginning and this is the original intention to close it after the space was entered to not interfere with typing, I think it was a bug that it was not closing and I’ve fixed it in November as I assume by commits.

---

<div class="post-metadata">

**Author:** ![sambouwer](https://community.anytype.io/user_avatar/community.anytype.io/sambouwer/32/12157_2.png) [@sambouwer](https://community.anytype.io/u/sambouwer)\
**Post date:** [January 19, 2023, 10:25am UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/9 "2023-01-19T10:25:31Z")

</div>

@Razor Thanks for the background info!

@f0ca maybe we can move this topic back to the feature requests as Razor indicates the current state is how it is intended to work.

Anytype obviously needs to know when you are done with typing the name of your new Object, and when you want to continue writing your text. I would suggest something like:

1. User starts typing normal text
2. User types “@” to start inline Object mention
3. Anytype shows the dropdown menu with recent Objects which allows the user to quickly select any recent Objects using the down arrow and Enter/Return key to confirm (tbd which Objects are most relevant to show. Maybe last created or accessed, most often opened, favorites?). The first option should automatically be selected.
4. User can continue to type normally
5. Alternatively, the user starts typing text after the “@”, which filters the dropdown to show relevant Objects only. At the top there should be an option to create a new Object (which is now at the bottom…). Typing a space does not close the menu.
6. The user either uses the arrow keys to select an existing Object or create a new Object, OR cancels with ESC (this is already possible).

Summarized, I think it will only require the menu not to close when a space is typed to allow the user to type spaces in "@"mentions.

For bonus to let users continue their typing flow:

1. Automatically select the first/top option in the menu
2. Show the “create new Object” at the top (meaning: arrow Up to select) \> This might be a personal preference, but I rather have this than having the “create new Object” always selected as default)

---

<div class="post-metadata">

**Author:** ![sambouwer](https://community.anytype.io/user_avatar/community.anytype.io/sambouwer/32/12157_2.png) [@sambouwer](https://community.anytype.io/u/sambouwer)\
**Post date:** [January 23, 2023, 10:45am UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/11 "2023-01-23T10:45:29Z")

</div>

See this FR for an improved workflow for adding inline relations:

> [@Inline Object Creation & Modification](https://community.anytype.io/t/inline-object-creation-and-modification/8120):
>
> WHAT DO YOU RECOMMEND I would like to have inline object creation and modification using a popup modal on the go without leaving the page. What I imagine is using @ to create a new object and also decide what type of object it should be. It would be even more powerful if I could set and modify relations just by using the keyboard without leaving the current page. that would improve the speed of populating objects within the editor dramatically. (As a power user I wish I could do more with key…

---

<div class="post-metadata">

**Author:** ![kerbless](https://community.anytype.io/user_avatar/community.anytype.io/kerbless/32/8675_2.png) [@kerbless](https://community.anytype.io/u/kerbless)\
**Post date:** [January 30, 2023, 8:26am UTC](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105/13 "2023-01-30T08:26:13Z")

</div>


