Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSlider shows wrong ticks when inner-min is equal to inner-max #16323

Closed
aercolino opened this issue Sep 9, 2023 · 1 comment
Closed

QSlider shows wrong ticks when inner-min is equal to inner-max #16323

aercolino opened this issue Sep 9, 2023 · 1 comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@aercolino
Copy link

What happened?

When QSlider has inner-min equal to inner-max, no marker ticks appear inside the bar but a marker tick appears at each end of the bar.

What did you expect to happen?

When QSlider has inner-min equal to inner-max, a single marker tick appears at the only possible value.

Reproduction URL

https://codepen.io/aercolino/pen/eYbvdar

How to reproduce?

The first bar (:inner-min="1" :inner-max="10") shows the right marker ticks.

The second bar (:inner-min="2" :inner-max="2") shows the wrong marker ticks.

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

Chrome

Quasar info output

Operating System - Darwin(21.6.0) - darwin/x64
NodeJs - 20.5.0

Global packages
  NPM - 10.0.0
  yarn - Not installed
  @quasar/cli - 2.2.3
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages
  quasar - 2.12.6 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.5.0 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.16.6 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.3.4 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.2.4
  pinia - 2.1.6 -- Intuitive, type safe and flexible Store for Vue
  vuex - Not installed
  vite - 2.9.16 -- Native-ESM powered web dev build tool
  eslint - 8.48.0 -- An AST-based pattern checker for JavaScript.
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Quasar App Extensions
  *None installed*

Networking
  Host - Mac-Andrea.local
  en0 - 192.168.1.103

Relevant log output

No response

Additional context

No response

@rstoenescu
Copy link
Member

Fix will be available in Quasar v2.12.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants