Hiding and Unhiding polygon using the setVisible() method does not bring back the perimeter lines
for this GeoGebra embed, I am controlling the animation using JS from React. I have the need to hide the pyramid shown ( variable "a" ) when the cross section is shown and then brought back when the slicing plane moves back.
i am using the setVisible property of the GGBApplet to get this done, using setVisible('a', false) and setVisible('a',true).
Why do the lines go missing, for the GeoGebra item linked here, you can open console and paste ggbApplet.setVisible('a', false) followed by ggbApplet.setVisible('a', true) to recreate the bug.
the border lines of the pyramid will come back if we make a selection of the pyramid form the action bar on the left side of the screen.
1 not so good workaround i found is to use setLineStyle('a', 0); which manually sets the line styling but this doesn't seem the suitable way.
Require urgent attention.