We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Link to a minimal repro: Here
The rendered span element does not receive the user provided className.
The rendered span element does receive the user provided className.
If you look at the code for the handle, it does indeed receive a className prop and puts it on the span element.
className={classNames(Classes.SLIDER_HANDLE, { [Classes.ACTIVE]: isMoving }, className)}
However, if you look at the MultiSlider code, specifically the renderHandles function, it only passes the preset classNames.
renderHandles
className={classNames({ [Classes.START]: type === HandleType.START, [Classes.END]: type === HandleType.END, })}
I may be reading the code wrong, so please feel free to correct me.
The text was updated successfully, but these errors were encountered:
Your assessment is correct, this looks like a bug.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Environment
Code Sandbox
Link to a minimal repro: Here
Steps to reproduce
Actual behavior
The rendered span element does not receive the user provided className.
Expected behavior
The rendered span element does receive the user provided className.
Possible solution
If you look at the code for the handle, it does indeed receive a className prop and puts it on the span element.
However, if you look at the MultiSlider code, specifically the
renderHandles
function, it only passes the preset classNames.I may be reading the code wrong, so please feel free to correct me.
The text was updated successfully, but these errors were encountered: