vaadin / vaadin/framework

ComboBox filter text cursor is always set to the text end

Open
#9,795 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale workaround
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Vaadin Version : 8.1.0

The Cursor of the ComboBox is always set to the end of the filtertext which clears every text selection.
This makes it very difficult for the user to clear the filter text or overwrite the filter text.

For example:

Select an item.
Select the filter text with "Ctrl + a".
Release "Ctrl + a".
Cursor jumps to the filter text end and clears the previously textselection.

This can be reproduced in the ComboBox example in Vaadin Sampler

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the selection-reset behavior in the Vaadin Sampler ComboBox example, then trace the ComboBox filter-text handling. Done means selecting the filter text with Ctrl+A preserves the selection after releasing the keys, so the text can be cleared or overwritten.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.