bug: Ionic CSS attributes are deprecated
See original GitHub issueUpgrading to 4.10.0 I am getting the following CSS error:
fesm5.js:5006 [DEPRECATED][CSS] Ionic CSS attributes are deprecated.
Replace:
'<div text-wrap>'
With:
'<div class="ion-text-wrap">'
Looking at the documents I also noticed there is no longer text-wrap attribute but instead it is class=“ion-text-wrap”.
My question when was this breaking changed introduced and why isn’t it stated in the changelog releases as a breaking change? It’s actually not trivial but a major rework for my project.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
bug: Ionic CSS attributes are deprecated #19555 - GitHub
Upgrading to 4.10.0 I am getting the following CSS error: fesm5.js:5006 [DEPRECATED][CSS] Ionic CSS attributes are deprecated.
Read more >ionic - `slot` attributes are deprecated - eslint-plugin-vue
I am getting following error in VS Code:
Read more >How to use style in SCSS and HTML in ionic4? - Ionic Forum
The usage of text-center in html has changed with this error. [DEPRECATED][CSS] Ionic CSS attributes are deprecated.
Read more >Deprecated APIs and features - Angular
Sometimes, APIs and features become obsolete and need to be removed or replaced so that Angular can stay current with new best practices, ......
Read more >ionic - `slot` attributes are deprecated - eslint-plugin-vue-Vue.js
[Solved]-ionic - `slot` attributes are deprecated - eslint-plugin-vue-Vue.js ... The slots Ionic Framework uses are not the same as Vue 2 slots. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the issue. The deprecation warnings are not breaking changes. CSS Attributes currently work in Ionic v4 and will continue to work until the next major release of Ionic. Any breaking changes are done in major release versions (4.0, 5.0, etc).
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.