Skip to content

[tooltip] Update to set opened on the host and reflect it to attribute #9779

@web-padawan

Description

@web-padawan

Motivation

Currently, vaadin-tooltip uses _autoOpened when in auto mode, and only uses opened in manual mode.
This can be unexpected for ::part() styling and is not aligned with how other overlay components work.

Proposed solution

  • Refactor vaadin-tooltip to set opened property on the host instead of _autoOpened
  • Add reflectToAttribute: true to the opened property in the TooltipMixin

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions