This seems to be fine and a static version of your sample works well in my tests:
dp.events.list = [
{
id: DayPilot.guid(),
text: '',
resource: "frozen1",
start: "2022-02-01",
end: "2022-02-10",
backColor: 'transparent',
borderColor: 'transparent',
resizeDisabled: true,
moveDisabled: true,
areas: [
{
action: 'Bubble',
css: "scheduler_attendance-planning-service-comment",
html: 'TTT',
bubble: new DayPilot.Bubble({
onLoad: function (args) {
console.log('test');
args.html = "test";
}
})
}
],
tags: {
type: 'PlanningComment',
data: "item"
}
}
];
If the active area is visible, I recommend checking the browser JS console - make sure there are no errors.
If there is no error, I recommend trying it with a blank project (e.g. one generated using https://builder.daypilot.org).