D3partitionR icon indicating copy to clipboard operation
D3partitionR copied to clipboard

Tooltips disappear when zooming in a level

Open olivier7121 opened this issue 6 years ago • 3 comments

Hello,

First many thanks to the contributors to this already great package which can only improve.

In a Shiny application, I noticed that sometimes when zooming in a level, the tooltips disappear when hovering. When zooming out back, the tooltips don't appear again. This bug also happens to the other D3partitionR objects displayed in the same Shiny application.

[EDIT]: This bug affects the 5 types of charts currently available. The tooltips might eventually reappear by zooming in and out on other D3paritionR objects in the same Shiny application. When eventually reappearing the location of the tooltips might also be erroneous.

Best regards,

Olivier

olivier7121 avatar Apr 03 '18 18:04 olivier7121

Hello, would you have a reproducible exemple ?

AntoineGuillot2 avatar Jun 02 '18 15:06 AntoineGuillot2

Hello Antoine,

Yes, please find the files attached. Input file.csv.txt Script.R.txt UpdatePathAllRFilesCurrentAndAllSubfolders.bat.txt

Just remove the artificial 'txt' extensions to make the files work.

Best regards,

Olivier

olivier7121 avatar Jun 05 '18 10:06 olivier7121

Hello Olivier,

I have been able to replicate the bug, I think i have a fix for the single plot case, but it seems tricky when there are multiple plots. It probably comes from conflicts between the tooltips created or scoping between the different js scripts.

AntoineGuillot2 avatar Jun 10 '18 09:06 AntoineGuillot2