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

Bug: Impossible d'ajuster la position du slider après un clic sur la barre #658

Open
samuel-duhaime opened this issue Aug 29, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@samuel-duhaime
Copy link
Collaborator

Bug Report

Current Behavior*

Il est impossible de modifier la position du bouton du slider après avoir cliqué sur la barre. Par exemple, un utilisateur peut essayer de cliquer au milieu du slider pour indiquer 50%, mais si le bouton tombe sur 48 ou 51%, il faut recliquer sur le bouton pour l'ajuster

Expected Behavior*

Pouvoir modifier la valeur après avoir cliqué sur la barre

Steps to Reproduce

  1. Cliquer sur la barre graduée rouge-vert
  2. Bouger la souris pour essayer de faire bouger le bouton

Source: https://github.com/chairemobilite/od_mj_2023/issues/273
@nik498

@samuel-duhaime samuel-duhaime added the bug Something isn't working label Aug 29, 2024
@GabrielBruno24 GabrielBruno24 self-assigned this Sep 11, 2024
@samuel-duhaime
Copy link
Collaborator Author

samuel-duhaime commented Sep 18, 2024

@GabrielBruno24 and me, we try to correct this bug, but it was not really possible.
We might need to change the react-input-range to rc-slider, or something else or something custom.

React-input-range haven't been updated for 7 years.
image

@samuel-duhaime
Copy link
Collaborator Author

samuel-duhaime commented Sep 18, 2024

We might try this solution davidchin/react-input-range#139, it's not merged on the react-input-range package, but it might solve this issue.

Can we use an issue that is not merged in another package? Not sure.
Looks like this is a package https://www.npmjs.com/package/react-input-range-ios-fix

@GabrielBruno24
Copy link
Contributor

GabrielBruno24 commented Sep 19, 2024

Looks like this package doesn't fix our issue sadly...

@samuel-duhaime
Copy link
Collaborator Author

Ce bug est toujours présent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants