You cannot do that if you are about to render dropdown menu items