vaadin / vaadin/framework

Cannot scroll ListSelect in read only mode

Open
#11,708 3 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

Using Edge/IE11, it's not possible to scroll a ListSelect it is in read only mode (it behaves the same as when it's disabled).

       ListSelect<String> list = new ListSelect<>();
       list.setItems(IntStream.range(1,100).mapToObj(i->"Item "+i)); 
       list.setReadOnly(true);
  • Vaadin Framework version: 8.8.6
  • Browser version: Edge 42.17134.1.0, IE11.885.17134.0

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 at the ListSelect component and reproduce the issue with the supplied 100-item example in Edge or IE11. Trace how read-only mode handles scrolling compared with disabled mode. Done means a read-only ListSelect remains non-editable while its items can be scrolled in the affected browsers.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.