In my Angular Ionic 6 application, I have a chat screen that I want to automatically scroll to the bottom when it loads.
Although I know how to achieve this using
this.ionContent.scrollToBottom();
, I'm facing an issue with some messages containing dynamic content and variable heights.
What is the most effective method to ensure that after all the messages and components are loaded, the chat can smoothly scroll to the bottom?