Closed jorsn closed 5 months ago
If you want to call this when a message is focused you can use this: https://github.com/astroidmail/astroid/blob/master/src/modes/thread_view/webextension/tvextension.cc#L1781, or maybe you want https://github.com/astroidmail/astroid/blob/master/src/modes/thread_view/webextension/tvextension.cc#L1696 ?
Problem: iframe size is not set when a message is viewed, but only when the focus is changed after that (e.g. I open a message, it is small. Then, i type 'j'/'k' and it is correctly sized.)
Question: Can we call the function from some code which is called always when a message is viewed?