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

[Carousel] Decimal value for slide-per-view prop #6344

Open
3 tasks done
weeks6 opened this issue Sep 10, 2024 · 0 comments
Open
3 tasks done

[Carousel] Decimal value for slide-per-view prop #6344

weeks6 opened this issue Sep 10, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@weeks6
Copy link

weeks6 commented Sep 10, 2024

Clear and concise description of the problem

Swiper.js allows passing decimal values e.g. "1.2" but so far naive-ui seems to support only whole numbers

Suggested solution

We could tweek necesseary calculations of translate and width to support decimal values

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@weeks6 weeks6 added the feature request New feature or request label Sep 10, 2024
@weeks6 weeks6 changed the title Decimal value for slide-per-view prop [Carousel] Decimal value for slide-per-view prop Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant