Skip to content
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

DBTooltip style is overwritten by parent data-emphasis="strong" #2774

Closed
1 of 7 tasks
annsch opened this issue Jun 21, 2024 · 0 comments · Fixed by #2775
Closed
1 of 7 tasks

DBTooltip style is overwritten by parent data-emphasis="strong" #2774

annsch opened this issue Jun 21, 2024 · 0 comments · Fixed by #2775
Labels
🐛bug Something isn't working 👩‍👧‍👦community feedback Feedback from community 🏘components Changes inside components folder

Comments

@annsch
Copy link
Collaborator

annsch commented Jun 21, 2024

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

When using DBTooltip with DBTag (emphasis strong) as parent element, the displayed tooltip inherits is text color from [data-amphasis="strong"]

<DBTag describedbyid="tooltip-01" semantic="neutral" emphasis="strong">
KUZ
<DBTooltip id="tooltip-01" placement="right-end" variant="with arrow">Beschreibungstext</DBTooltip>
</DBTag>

Expected Behaviour

DBTooltip component`s style should not be affected by its parent style.

Screenshots

No response

Browser version

None

Add any other context about the problem here.

No response

@annsch annsch added 🐛bug Something isn't working 🏘components Changes inside components folder labels Jun 21, 2024
@nmerget nmerget added the 👩‍👧‍👦community feedback Feedback from community label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working 👩‍👧‍👦community feedback Feedback from community 🏘components Changes inside components folder
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants