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.

Color broken in inner components inside shadow-dom

See original GitHub issue

badgeColor in ion-tab does not work because ion-tab-button lives inside the shadow-dom of ion-tabs which prevents it from accessing the colors.css global styles

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
corysmccommented, Oct 15, 2018
1reaction
corysmccommented, Nov 2, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Color broken in inner components inside shadow-dom #14840
This is fundamentally a problem with shadow-dom, so we recommend to avoid using native shadow-dom for user's components that use ionic, ...
Read more >
CSS is not fully applying on a shadow DOM using <slot>
1 Answer 1 ; Default value for CCS property color is inherit. ; Default style for CSS property background-color is transparent (won't inherit...
Read more >
Shadow DOM v1 - Self-Contained Web Components
Shadow DOM is local to the component and defines its internal structure, scoped CSS, and encapsulates your implementation details.
Read more >
Styling in the Shadow DOM With CSS Shadow Parts
Base styles and CSS resets​​ Styles can be applied using HTML element selectors like <button> and <div> . These styles could break a...
Read more >
Using shadow DOM - Web Components | MDN
Internal versus external styles. In the above example we apply style to the Shadow DOM using a <style> element, but it is perfectly...
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