-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
The text-hide()
mixin has been deprecated as of v4.1.0. It will be removed entirely in v5.
#26246
Comments
It shouldn't be an error, it should be a warning, which shouldn't affect compilation. The mixin was deprecated with v4.1 and was mentioned in our blog post. |
ok, but shouldn't bootstrap itself not use |
@casdevs True, but then the precompiled version wouldn't include .text-hide which can break sites using the precompiled bootstrap css or a cdn. And semantic versioning says you can only make breaking changes if you bump the major version. |
@RobertSmits ok, without further investigation I've assumed that internally, there is an alternative to the now deprecated text-hide mixin so bootstrap itself can set a good example of how to avoid using this deprecated feature. I've just wondered why compiling bootstrap without further modifications issues a warning now. |
Having loud warnings about library internals is a bad smell. It makes it easy to ignore warnings, since there's nothing I'm doing to trigger them. Can there be some way to turn this off? |
This will be fixed in v4.1.1 (Fix committed to v4-dev). The warning will be silenced when importing Bootstrap, but not when the mixin is called directly in custom code |
Great, thanks! I see this now: |
Can you confirm that you are using v4.1.1? |
I am sorry i use "bootstrap-material-design": "4.1.1" but not bootstrap. So i update and now i don't have problem. Thank you. |
I am using core ui template of react and facing same issue none of given solution worked for me "@coreui/coreui": "^2.0.1", |
Hi
After updating to Version 4.1.0. When I wanna compile my SCSS files I get this error:
The "text-hide()" mixin has been deprecated as of v4.1.0. It will be removed entirely in v5.
But when I comment
.text-hide
class in _text.scss every things go fine and there is no issue!The text was updated successfully, but these errors were encountered: