This issue arrived because the navbar and mobile component both have z-index of 50, so they are blocking each other. So that my icon is not responding after mobile component display.