After creating a panel using GWT as shown below:
VerticalPanel myPanel = new VerticalPanel();
I attempted to add animation CSS to myPanel in order to achieve sliding effects when hiding the panel like this:
myPanel.addStyleName("animated slideInRight");
myPanel.setVisible(false);
However, it seems that the above code hides myPanel before the slideInRight effect is fully displayed. Why does myPanel not slide as expected based on the CSS before being hidden?