Cursor resets to beginning of input when filtering labels in Custom Views #2549

Closed
opened 2026-03-22 14:11:41 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @AlvinVrolijk on GitHub (Feb 20, 2026).

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same problem.

Description

When attempting to filter or search for labels while creating a Custom View, the cursor unexpectedly jumps back to the beginning of the search term (immediately after labels=) after typing.

This behavior makes it very difficult to search for specific labels, as the input focus or cursor position is lost during the filtering process. It seems to happen most of the time, though occasionally it works as expected.

Steps to Reproduce

  1. Go to Custom Views.
  2. Open the filter/query input.
  3. Type labels= followed by a search term.
  4. Observe the cursor jumping back to the start of the word after a keystroke.

Expected Behavior

The cursor should stay at the end of the text string to allow for continuous typing/searching.

Actual Behavior

The cursor resets to the beginning of the label name (e.g., labels=|labelname), interrupting the flow.

Evidence

Video Demonstration: https://jumpshare.com/v/6BmRo7sYCy9YK5t2WtAg

Vikunja Version

v1.1.0-84-bc2f7e58 (try.vikunja.io)

Browser and version

Chrome 145.0.7632.77 (Official Build) (64-bit)

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

Image
Originally created by @AlvinVrolijk on GitHub (Feb 20, 2026). ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same problem. ### Description When attempting to filter or search for labels while creating a Custom View, the cursor unexpectedly jumps back to the beginning of the search term (immediately after `labels=`) after typing. This behavior makes it very difficult to search for specific labels, as the input focus or cursor position is lost during the filtering process. It seems to happen most of the time, though occasionally it works as expected. ### Steps to Reproduce 1. Go to **Custom Views**. 2. Open the filter/query input. 3. Type `labels=` followed by a search term. 4. Observe the cursor jumping back to the start of the word after a keystroke. ### Expected Behavior The cursor should stay at the end of the text string to allow for continuous typing/searching. ### Actual Behavior The cursor resets to the beginning of the label name (e.g., `labels=|labelname`), interrupting the flow. ### Evidence **Video Demonstration:** https://jumpshare.com/v/6BmRo7sYCy9YK5t2WtAg ### Vikunja Version v1.1.0-84-bc2f7e58 (try.vikunja.io) ### Browser and version Chrome 145.0.7632.77 (Official Build) (64-bit) ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots <img width="1363" height="546" alt="Image" src="https://github.com/user-attachments/assets/3ea9ad62-5491-4f49-8945-9141fd8fb8d1" />
Author
Owner

@vikunja-bot-app[bot] commented on GitHub (Feb 24, 2026):

This issue has been fixed in #2287, please check with the next unstable build (should be ready for deployment in ~30min, also on the demo).

@vikunja-bot-app[bot] commented on GitHub (Feb 24, 2026): This issue has been fixed in #2287, please check with the next unstable build (should be ready for deployment in ~30min, also on [the demo](https://try.vikunja.io)).
Author
Owner

@AlvinVrolijk commented on GitHub (Feb 24, 2026):

Amazing! Thanks for fixing it so quickly. :)

@AlvinVrolijk commented on GitHub (Feb 24, 2026): Amazing! Thanks for fixing it so quickly. :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#2549