slider
slider copied to clipboard
React Slider
I have a project using library rc-slider, internally has a dependency with classnames. Reviewing my build I saw an unnecessary size of the js. Reviewing deeper with source-map-explorer package, I...
- ref https://github.com/ant-design/ant-design/issues/52115 ## Summary by CodeRabbit - **新功能** - 无 - **Bug 修复** - 无 - **重构** - 优化了滑块组件(Slider)的实现 - 移除了一些已弃用的属性和回调函数 - 更新了事件处理机制 - 简化了测试用例 - **文档** - 更新了滑块组件的使用示例以反映新的事件处理和样式结构...
### Issue TypeError: Cannot read properties of null (reading 'getBoundingClientRect') ### Stack Trace `src/hooks/useDrag.ts:159` ```tsx const { width, height } = containerRef.current.getBoundingClientRect(); ```
 Adds the index handle to change events, so it is possible to make calculations based on the index that the user selects. ## Summary by CodeRabbit - **新功能** -...
This is my code ``` import React, { useState } from 'react'; import Slider from 'rc-slider'; import 'rc-slider/assets/index.css'; import "./style.css"; import sliderImg from "@/assets/images/png/slider_texture.png"; // TimeSlider.jsx const TimeSlider = ()...
复现步骤: 1. 打开官方demo链接:https://slider-react-component.vercel.app/demo/debug 2. 修改demo代码为: ```tsx import Slider from 'rc-slider'; import React from 'react'; import '../../assets/index.less'; export default () => { const [disabled, setDisabled] = React.useState(false); const [range, setRange] =...
I am using `[email protected]` and I see a suggestion by [Renovate](https://github.com/apps/renovate) to upgrade it to v11. Looking at [Release notes for v11.0.0](https://github.com/react-component/slider/releases/tag/v11.0.0), it is hard to tell if there are...
Is there an update planned to be able to be used with @react19?
I have a usecase like this where I want to provide different color and styling to different tracks and handles so I used **trackStyle** and **handleStyle** as array ``` ```...
Create a range slider with ``. This creates an uneditable range. Therefore when the `` gets rendered, `onDelete` is passed as `undefined`. However, `Handle` still tries to call `onDelete` unconditionally,...