Skip to content

feat: add slider active state attributes for pointer interaction#11047

Merged
web-padawan merged 2 commits intomainfrom
feat/slider-active-attribute
Feb 3, 2026
Merged

feat: add slider active state attributes for pointer interaction#11047
web-padawan merged 2 commits intomainfrom
feat/slider-active-attribute

Conversation

@web-padawan
Copy link
Copy Markdown
Member

@web-padawan web-padawan commented Feb 3, 2026

Description

Add active attribute to slider and start-active/end-active attributes to range-slider. These attributes are set when the thumb is pressed with mouse or touch and removed on pointer release.

Type of change

  • Feature

@web-padawan web-padawan requested a review from vursen February 3, 2026 08:14
Add `active` attribute to slider and `start-active`/`end-active` attributes
to range-slider. These attributes are set when the thumb is pressed with
mouse or touch and removed on pointer release.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@web-padawan web-padawan force-pushed the feat/slider-active-attribute branch from 48e62a0 to b7221c2 Compare February 3, 2026 08:18
Move pointerup/pointercancel listeners to constructor instead of adding
and removing them dynamically. Check target element in __onPointerUp
before removing active state attributes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Feb 3, 2026

@web-padawan web-padawan merged commit 23753c4 into main Feb 3, 2026
10 checks passed
@web-padawan web-padawan deleted the feat/slider-active-attribute branch February 3, 2026 09:23
@vaadin-bot
Copy link
Copy Markdown
Collaborator

This ticket/PR has been released with Vaadin 25.1.0-alpha5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants