Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move cursor to end of title when opening form #155

Open
tyler-dane opened this issue Oct 23, 2024 · 0 comments
Open

Move cursor to end of title when opening form #155

tyler-dane opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tyler-dane
Copy link
Contributor

tyler-dane commented Oct 23, 2024

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

@tyler-dane tyler-dane added the enhancement New feature or request label Oct 23, 2024
@tyler-dane tyler-dane moved this to Todo in v1 Cleanup Oct 23, 2024
@tyler-dane tyler-dane added the good first issue Good for newcomers label Nov 11, 2024
@tyler-dane tyler-dane removed this from v1 Cleanup Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Ready
Development

No branches or pull requests

1 participant