Hello,
Context: Vanilla JS v5.0.0
When using a custom scaling display on my OS, the 'showBy' method of the Tooltip class does not work and nothing is shown.
Here is a sample code to reproduce the issue
new Button({
appendTo : targetElement,
text : 'Click me',
onAction : function(mEvent) {
new Tooltip({
html: 'Tooltip text',
modal: true,
closable: true
}).showBy({
target: mEvent.source,
anchor: true,
align: "b100-t100"
});
}
});
On a screen with a 1920x1080 resolution.
If you run the above code with the default recommended scaling(100%) scaling, the tooltip is shown.
If you switch your display to a 120% custom scaling, the tooltip is not shown.
Can you please have a look and solve this?
Thanks.
Best regards,