nova-help icon indicating copy to clipboard operation
nova-help copied to clipboard

collapsible() not working correctly with displayAsHtml()

Open ryandrobinson opened this issue 3 years ago • 2 comments

If you use collapsible() and displayAsHtml() together, the dropdown arrow is missing, and the cursor is an arrow rather than a pointer

ryandrobinson avatar Mar 25 '22 16:03 ryandrobinson

Hello @ryandrobinson, thank you for reporting it. I'll check it out asap.

micc83 avatar Mar 29 '22 06:03 micc83

I looked into it and not sure how to handle it. What I mean is that what you described was indeed the intended behaviour. The point being that if you wanna implement your own html you can also pass something like <span style="cursor:pointer">Title</span> as the title. While the caret could just be a burden in this scenario. Not sure this was the best decision at the time but here we are and now it would be a breaking change. I'll think about it and see what can do.

micc83 avatar Mar 29 '22 07:03 micc83