I'm not sure why it causes it but there's a bug in the code and when you fix it the animation works. You forgot f.setScrollable(false). Since a form is scrollable by default you should disable that for tabs. With BorderLayout this is implicitly turned off so we don't need to explicitly write that.
-- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4ab985db-28f1-4136-8cd2-68f9729497f8%40googlegroups.com.