vaadin / vaadin/framework

Missing method to remove mousewheel listener from com.vaadin.ui.Slider

Open
#10,426 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Vaadin Framework version (e.g. 7.7.12)
Description:
Not a code but a UI usage issue: on a long, scrollable page with several sliders, when scrolling the page using mousewheel, the user will accidentally change the values of sliders she has entered earlier in case the mouse cursor passes a slider. This leads to wrong inputs. Thus, it would be helpful to generally be able removing the handler for mousewheel scrolling from the client side slider com.vaadin.client.ui.VSlider programmatically.

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 with the client-side slider class com.vaadin.client.ui.VSlider and trace how it handles mousewheel scrolling. Determine the public API needed to remove that handler programmatically, then verify that applications can disable the behavior without preventing normal slider use; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.