Button functionality not working properly on device but it is working fine in emulator and web

I’ve created a page where the list of followers will be visible I’m getting those values from the array and using a flag I’m changing the state of a button using Ngif it works fine in emulator and on web but when I’m building it on mobile it is not working fine can I know why ??

you can see my code here

That could be because if suppose inside a div if u put a button if div size is limited then it can be an issue because of the real device screen resolution. So , try to move the click event to a div rather than inside the button.

1 Like