@eric-emg/symphiq-components 1.2.84 → 1.2.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11347,19 +11347,19 @@ class TooltipContainerComponent {
11347
11347
  'viewportEffectiveRight - padding': viewportEffectiveRight - padding
11348
11348
  });
11349
11349
  if (wouldGoOffLeft) {
11350
- // Align to left edge with padding
11351
- const result = effectiveLeft + padding + halfWidth;
11352
- console.log('⬅️ [Tooltip adjusting LEFT]', { result, effectiveLeft });
11350
+ // Align to left edge with padding (no transform applied, so this is the actual left edge)
11351
+ const result = effectiveLeft + padding;
11352
+ console.log('⬅️ [Tooltip adjusting LEFT]', { result, effectiveLeft, tooltipWidth });
11353
11353
  return result;
11354
11354
  }
11355
11355
  else if (wouldGoOffRight) {
11356
- // Align to right edge with padding
11357
- const result = effectiveRight - padding - halfWidth;
11358
- console.log('➡️ [Tooltip adjusting RIGHT]', { result, effectiveRight });
11356
+ // Align to right edge with padding (no transform applied, so this is the actual left edge)
11357
+ const result = effectiveRight - padding - tooltipWidth;
11358
+ console.log('➡️ [Tooltip adjusting RIGHT]', { result, effectiveRight, tooltipWidth });
11359
11359
  return result;
11360
11360
  }
11361
11361
  else {
11362
- // Center normally (transform will be applied)
11362
+ // Center normally (transform will be applied to shift by -50%)
11363
11363
  const result = centerPosition - ancestorOffset;
11364
11364
  console.log('🎯 [Tooltip centered]', { centerPosition, ancestorOffset, result });
11365
11365
  return result;