You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot override mode styles on many components #17608
This has been added for the 4.3.0 release. The full list of components that have the mode class now can be seen in the table at the bottom of this PR: #17838
Note that this is only a problem for components that are being used inside of a shadow element. If using light DOM you can still use the documented way to style by mode.
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.
Activity
brandyscarney commentedon Feb 25, 2019
I believe certain components need be updated to include the following:
I'm not sure why this was removed as it looks intentional, but will look into this.
fix(icon): add mode class
brandyscarney commentedon Apr 16, 2019
This has been added for the
4.3.0release. The full list of components that have the mode class now can be seen in the table at the bottom of this PR: #17838It can be used like the following:
Note that this is only a problem for components that are being used inside of a shadow element. If using light DOM you can still use the documented way to style by mode.
ionitron-bot commentedon May 16, 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.