instacart / Snacks

The Instacart Component Library
https://instacart.github.io/Snacks/
Apache License 2.0
81 stars 36 forks source link

Tooltip arrow position not centered after changing dimensions of tooltip container #281

Open mmarcuccio opened 5 years ago

mmarcuccio commented 5 years ago

Here is an example of this behavior.

nov-06-2018 13-40-54

aurora-instacart commented 5 years ago

This issue also causes low_stock_modal misalign with the arrow if the height of Tooltip changed later. Loading state:

screen shot 2018-11-27 at 9 43 38 pm

After we received the data, the height of Tooltip changed, the arrow is misaligned

screen shot 2018-11-27 at 9 49 13 pm