RocketCommunicationsInc / astro

Astro UXDS is a collection of guidelines, patterns and components for designing space-based user interface applications.
https://astrouxds.com
Other
113 stars 25 forks source link

`<RuxTooltip />` renders block-level children taller than inline children #1216

Closed jm-bh closed 1 year ago

jm-bh commented 1 year ago

Describe the bug Block-level elements inside a <RuxTooltip /> make the tooltip taller than it should be.

To Reproduce Steps to reproduce the behavior:

  1. Create a <RuxTooltip />
  2. Add a block-level element
  3. Observe incorrect height

Current behavior The tooltip is significantly taller than its children.

Expected behavior The tooltip should not be taller than its children. (Inline elements still show the correct height.)

Screenshots image image

CodeSandbox StackBlitz (/components/table, line 72)

Environment (please complete the following information):

Additional context Possibly related to #1188

micahjones13 commented 1 year ago

Hey @jm-bh, This issue has been fixed and will be included in today's release (7.16.0). Thanks for raising this!