dialkit 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1885,6 +1885,7 @@ function Slider({
1885
1885
  onChange: handleInputChange,
1886
1886
  onKeyDown: handleInputKeyDown,
1887
1887
  onBlur: handleInputBlur,
1888
+ onPointerDown: (e) => e.stopPropagation(),
1888
1889
  onClick: (e) => e.stopPropagation(),
1889
1890
  onMouseDown: (e) => e.stopPropagation()
1890
1891
  }
@@ -1896,6 +1897,7 @@ function Slider({
1896
1897
  onMouseEnter: () => setIsValueHovered(true),
1897
1898
  onMouseLeave: () => setIsValueHovered(false),
1898
1899
  onClick: handleValueClick,
1900
+ onPointerDown: (e) => isValueEditable && e.stopPropagation(),
1899
1901
  onMouseDown: (e) => isValueEditable && e.stopPropagation(),
1900
1902
  style: { cursor: isValueEditable ? "text" : "default" },
1901
1903
  children: displayValue