Skip to content

Move cursor to end of title when opening form #155

@tyler-dane

Description

@tyler-dane

Given that there is an existing event
And the user clicks the event
Then the event form should open
And the cursor should be at the end of the event's title.


Currently, the cursor is at the beginning of the event's title.

This adds an unnecessary step whenever someone wants to append text to an event title, which is much more common than wanting to append it to the beginning. Starting at the end is also consistent with other calendars, so it's likely what users are used to.

Implementation Guidance
There might be a simpler way to do this, but I'd consider writing a function that gets the length of the title and positions the cursor at the last character. Then run that function that whenever the form is opened

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions