palantir/blueprint

Mouse Event onChange Slider

Open

#5916 aperta il 1 feb 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
P2Package: coreType: feature requesthelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

Improve Slider in Blueprint

Slider onChange does not have mouse event as a return value. Would be nice to add it, cause we cannot stop the propagation of the event.

Current: onChange={(value) => console.log(value); }

Expected: onChange={(value, e) => console.log(value); e.stopPropagation()}

Guida contributor