palantir/blueprint

Mouse Event onChange Slider

Open

#5,916 opened on 2023年2月1日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P2Package: coreType: feature requesthelp wanted

説明

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()}

コントリビューターガイド