Hacker News new | ask | show | jobs
by paradite 3729 days ago
I am wondering how well does this work on svg?

Also, I couldn't find the option to choose tooltip or popover, what's the default and how do I specify tooltip/popover?

1 comments

The library just positions poppers, it doesn't decide about the behavior.

I've tested popper.js on svg and it seems to work well but I need to write some test for them.

Ah, I see. I was wondering for a long time why the "poppers" in the examples are static.

Maybe coding the animation requires more JavaScript and increase the code base? Seems to me that some basic animation as popover/tooltip would be nice to have.

I'm trying to keep the library as specialized as possible. Nothing prevent you/someone to write a plugin to add more behaviors tho