HomePhabricator
Diffusion Comm f29bf4eed7b4

[lib/native] update heightMeasurerKey function to consider inline engagement…

Description

[lib/native] update heightMeasurerKey function to consider inline engagement for robotext messages

Summary:
This next diff updates the heightMeasurerKey function so that we remeasure a message whenever there is a change with the inline engagement for that message. In this diff we want to also consider changes to sidebar text and the reactions since these can all potentially affect the height of the inline engagement node

Depends on D8610

Test Plan:
I tested modifying the height of the inline engagement for robotext messages, and when I did this, I no longer got the incorrect height measurement logs from the console

Before:

After:

Reviewers: atul, kamil, ashoat, tomek

Reviewed By: tomek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8628

Details