-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
I had issues with node-sass, so I decided to updata to dart-sass, bootstrap-select works fine, however, i'm getting a deprecation warning for a line in the component's styles:
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($amnt, 100) or calc($amnt / 100)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
26 │ $amnt: $amnt / 100; // convert to percentage if int
│ ^^^^^^^^^^^
╵
node_modules/bootstrap-select/sass/bootstrap-select.scss 26:12 fade()
node_modules/bootstrap-select/sass/bootstrap-select.scss 352:43 @import
[...]
It would be nice if someone updated the source code to use the newer recommended syntax. I am available for submitting a PR.
andrew-flatters-bliss
Metadata
Metadata
Assignees
Labels
No labels