question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: Ionic CSS attributes are deprecated

See original GitHub issue

Upgrading 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:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
liamdebeasicommented, Oct 7, 2019

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).

0reactions
ionitron-bot[bot]commented, Nov 6, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found