Provide a general summary of the issue here
<sl-button ${tooltip('Hello world')}>
The above code will not work because:
- You cannot provide a
context option using the directive like you can with Tooltip.lazy()
Tooltip.lazy() defaults to target.shadowRoot, which in this case is the <sl-button> and that does not have <sl-tooltip> as a scoped custom element
We should improve tooltip()/Tooltip.lazy() to work better in this case.
👤 Your name
Jeroen
🧢 Your Product/Team
SLDS