evazion / translate-pixiv-tags

MIT License
35 stars 6 forks source link

Settings menu doesn't open for some artist tags #33

Closed BrokenEagle closed 5 years ago

BrokenEagle commented 5 years ago

After some testing, it seems like this occurs when the same artist is selected a 2nd+ time from a different artist tag. The 1st will continue to work, but all others will not work. This does not affect different artists though. The following from example from Twitter demonstrates which ones have the issue.

image

Note that it's not because it's the 2nd that was rendered, but the 2nd popup that was initialized that was the issue. So if a user hovers over a particular artist tag, then only that artist tag will work for that artist on the entire page.

7nik commented 5 years ago

I see. It happens because 2nd+ tooltips are cloned from the first and event handlers are not cloned.