Skip to content

Conversation

@malmakova-na
Copy link

Карточка в Кайтен: https://techaudit.kaiten.ru/dashboard/card/46923553?listView=1

Добавлена опция для настройки расположения тултипа в новом поле container

@malmakova-na malmakova-na self-assigned this Mar 10, 2025
@malmakova-na malmakova-na changed the title Fix(tooltip): added container prop in tooltip for placement Fix(tooltip): added container prop in tooltip for placement# 46923553 Mar 10, 2025

const tooltipModel = ecModel.getComponent('tooltip') as TooltipModel;
const renderMode = this._renderMode = getTooltipRenderMode(tooltipModel.get('renderMode'));
const container = tooltipModel.option.container
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tooltipModel.option.container ?? api.getDom()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See also apache#20815 (review). The current appendTo option should do it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

исправила

@malmakova-na malmakova-na force-pushed the fix/container-prop-in-tooltip branch from 758fb49 to abe05b9 Compare March 20, 2025 10:39
@lmmelstron lmmelstron removed the 4.4.0 label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants