ark icon indicating copy to clipboard operation
ark copied to clipboard

vue range slider example from the docs crashes

Open stefanprobst opened this issue 1 year ago • 0 comments

Description

The vue range slider example from the docs crashed with the following error:

Cannot read properties of undefined (reading 'max')

at Proxy. (./node_modules/.pnpm/@[email protected][email protected]/node_modules/@ark-ui/vue/dist/components/slider/slider-thumb.js.js:18:80)

the only difference to the react example is the missing defaultValue. note that the react example also crashes when i remove the defaultValue prop.

Link to Reproduction (or Detailed Explanation)

https://github.com/stefanprobst/issue-ark-ui-slider

Steps to Reproduce

  • clone repro
  • pnpm install && pnpm run dev
  • open http://localhost:3000/

Ark UI Version

3.7.2

Framework

  • [ ] React
  • [ ] Solid
  • [X] Vue

Browser

firefox 128

Additional Information

No response

stefanprobst avatar Aug 11 '24 07:08 stefanprobst