arco-design / arco-design-vue

A Vue.js 3 UI Library based on Arco Design
https://arco.design/vue
MIT License
2.69k stars 526 forks source link

The slider min and max could overlap each other #2938

Open gitmibrahim opened 8 months ago

gitmibrahim commented 8 months ago

Basic Info

What is expected?

They don't overlap; the min couldn't pass the max and so the max couldn't go behind the min

Steps to reproduce

For a range slider:

Summer-Shen commented 7 months ago

Hello, could you kindly clarify the intended meaning of min and max? Specifically, are you referring to:

<template>
  <a-slider
    v-model="value"
    :style="{ width: '300px' }"
    range
    min="100"
    max="0"
  />
</template>

<script>
import { ref } from 'vue';

export default {
  setup() {
    const value = ref([5, 10]);
    return { value };
  },
};
</script>
gitmibrahim commented 7 months ago

Nope, the min and max thumbs of the slider

oljc commented 7 months ago

Nope, the min and max thumbs of the slider

@gitmibrahim @Summer-Shen I get it. Let me handle it.🫶🏻

gitmibrahim commented 7 months ago

@LIjiAngChen8 I'm ready to contribute and take your feedback if u hadn't put an effort yet, please let me know.

oljc commented 7 months ago

@LIjiAngChen8 I'm ready to contribute and take your feedback if u hadn't put an effort yet, please let me know.

@gitmibrahim Ok Great, looking forward to your PR!