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.js CHANGED
@@ -1838,6 +1838,7 @@ function Slider({
1838
1838
  onChange: handleInputChange,
1839
1839
  onKeyDown: handleInputKeyDown,
1840
1840
  onBlur: handleInputBlur,
1841
+ onPointerDown: (e) => e.stopPropagation(),
1841
1842
  onClick: (e) => e.stopPropagation(),
1842
1843
  onMouseDown: (e) => e.stopPropagation()
1843
1844
  }
@@ -1849,6 +1850,7 @@ function Slider({
1849
1850
  onMouseEnter: () => setIsValueHovered(true),
1850
1851
  onMouseLeave: () => setIsValueHovered(false),
1851
1852
  onClick: handleValueClick,
1853
+ onPointerDown: (e) => isValueEditable && e.stopPropagation(),
1852
1854
  onMouseDown: (e) => isValueEditable && e.stopPropagation(),
1853
1855
  style: { cursor: isValueEditable ? "text" : "default" },
1854
1856
  children: displayValue